Borderou de evaluare (job #1445871)

Utilizator SmarandaMaria Pandele Smaranda Data 31 mai 2015 12:45:13
Problema Johnie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:86:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ans.size (); ++ i) ^ user.cpp:90:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; i < ans.size (); ++ i) { ^ user.cpp:103:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < ans.size (); ++ i) { ^ user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("johnie.in", "r", stdin); ^ user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("johnie.out", "w", stdout); ^ user.cpp:53: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:56:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2372kbOK10
24ms2376kbOK10
38ms2592kbOK10
416ms2732kbOK10
560ms3940kbOK10
696ms4360kbOK10
7172ms4804kbOK10
8Depăşit5392kbTime limit exceeded.0
9144ms5816kbKilled by signal 11(SIGSEGV).0
100ms2352kbOK10
Punctaj total80

Ceva nu functioneaza?