.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 563904

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 563904
Concurent: Ana Kapros (Ana Kapros)Progres: evaluare completă
Problemă: aranjare1Punctaj exemplu: 5
Limbaj: cppPunctaj final: 100
Dată: 5 feb 2018, 17:19
Mesaj evaluator:
aranjare1.cpp: In function 'std::pair<int, int> FrqCode()': aranjare1.cpp:54: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x aranjare1.cpp: In function 'int main()': aranjare1.cpp:71: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result aranjare1.cpp:75: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result aranjare1.cpp:93: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from /usr/include/c++/4.4/i486-linux-gnu/bits/stdc++.h:45, from aranjare1.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at aranjare1.cpp:75: /usr/include/bits/stdio2.h:230: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccxqqBEM.o: In function `main': aranjare1.cpp:(.text+0x41b): warning: the `gets' function is dangerous and should not be used. aranjare1.cpp:(.text+0x5af): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Okay! 5
Total exemple 5
1 0 Okay! 5
2 0 Okay! 5
3 0 Okay! 5
4 0.001 Okay! 5
5 0.001 Okay! 5
6 0.001 Okay! 5
7 0.001 Okay! 5
8 0.001 Okay! 5
9 0.001 Okay! 5
10 0 Okay! 5
11 0.005 Okay! 8
12 0.005 Okay! 7
13 0.004 Okay! 7
14 0.004 Okay! 7
15 0.005 Okay! 7
16 0.009 Okay! 7
17 0.008 Okay! 7
Total evaluare 100
ajutor