Borderou de evaluare (job #1283272)

Utilizator Al3ks1002Alex Cociorva Al3ks1002 Data 5 decembrie 2014 14:37:56
Problema Subsiruri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsiruri2.in", "r", stdin); ^ user.cpp:36:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsiruri2.out", "w", stdout); ^ user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms496kbOK10
20ms436kbOK10
30ms436kbOK10
40ms448kbOK10
520ms460kbOK10
640ms472kbOK10
784ms512kbOK10
8376ms480kbOK10
9380ms568kbOK10
10356ms532kbOK10
Punctaj total100

Ceva nu functioneaza?