Borderou de evaluare (job #1465277)

Utilizator margikiMargeloiu Andrei margiki Data 26 iulie 2015 21:29:08
Problema Radio2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘bool exista(int, int)’: user.cpp:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<v[cod].size(); ++i) { ^ user.cpp: In function ‘int main()’: user.cpp:58:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000010]’ [-Wformat=] scanf ("%s\n", &s); ^ user.cpp:70:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[2510]’ [-Wformat=] scanf ("%s\n", &B); ok=0; ^ user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("radio2.in", "r", stdin); ^ user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("radio2.out", "w", stdout); ^ user.cpp:57:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d\n", &n, &m, &L, &K); ^ user.cpp:58:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s\n", &s); ^ user.cpp:70:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s\n", &B); ok=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
144ms8256kbOK5
288ms8252kbOK5
3424ms25844kbOK5
4428ms26004kbOK5
5228ms9272kbOK5
6336ms9332kbOK5
7Depăşit9572kbTime limit exceeded.0
8512ms9708kbOK5
9Depăşit13904kbTime limit exceeded.0
10Depăşit14496kbTime limit exceeded.0
11Depăşit14460kbTime limit exceeded.0
12Depăşit14996kbTime limit exceeded.0
13Depăşit16292kbTime limit exceeded.0
14Depăşit16876kbTime limit exceeded.0
15Depăşit20948kbTime limit exceeded.0
16Depăşit20936kbTime limit exceeded.0
17Depăşit22016kbTime limit exceeded.0
18Depăşit23952kbTime limit exceeded.0
19560ms25272kbOK5
20Depăşit25028kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?