Borderou de evaluare (job #1460358)

Utilizator manciu_ionIon Manciu manciu_ion Data 12 iulie 2015 14:36:09
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:24: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=] scanf("%ul", &t); ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.in", "rt", stdin); ^ user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.out", "wt", stdout); ^ user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ul", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms440kbOK10
30ms452kbOK10
40ms596kbOK10
524ms1652kbOK10
6Depăşit9852kbTime limit exceeded.0
7188ms10980kbOK10
8Depăşit440kbTime limit exceeded.0
9Depăşit440kbTime limit exceeded.0
100ms440kbOK10
Punctaj total70

Ceva nu functioneaza?