Borderou de evaluare (job #1885690)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 20 februarie 2017 11:09:08
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
10ms260kbDoar numarul de permutari gresit!5
20ms260kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
40ms264kbRaspuns gresit!0
50ms260kbRaspuns gresit!0
60ms256kbRaspuns gresit!0
70ms260kbRaspuns gresit!0
80ms260kbRaspuns gresit!0
90ms260kbRaspuns gresit!0
100ms260kbDoar numarul de permutari gresit!5
Punctaj total10

Ceva nu functioneaza?