Borderou de evaluare (job #1392573)

Utilizator gabitzish1Gabriel Bitis gabitzish1 Data 18 martie 2015 18:57:23
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:14:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000004]’ [-Wformat=] scanf("%s", &a); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.in","r",stdin); ^ user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.out","w",stdout); ^ user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms248kbOK10
30ms256kbOK10
40ms256kbOK10
50ms248kbOK10
68ms400kbOK10
74ms376kbOK10
8Depăşit1768kbTime limit exceeded.0
9Depăşit2144kbTime limit exceeded.0
10Depăşit1824kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?