Borderou de evaluare (job #1885684)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 20 februarie 2017 11:07:56
Problema Gard 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gard5.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gard5.out","w",stdout); ^ user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd",&n); ^ user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbDoar numarul de permutari gresit!5
20ms256kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
40ms256kbRaspuns gresit!0
50ms256kbRaspuns gresit!0
60ms264kbRaspuns gresit!0
70ms264kbRaspuns gresit!0
80ms260kbRaspuns gresit!0
90ms264kbRaspuns gresit!0
100ms256kbDoar numarul de permutari gresit!5
Punctaj total10

Ceva nu functioneaza?