Borderou de evaluare (job #1949210)

Utilizator mirunazMiruna Zavelca mirunaz Data 1 aprilie 2017 20:07:34
Problema Pachete Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void trans(int)’: user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<c[p].size(); i++){ ^ user.cpp:24:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0; j<drum.size() && pp == 0; j++){ ^ user.cpp: In function ‘int main()’: user.cpp:45:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf ("%d %d %d", &n, &xf, &yf); ^ user.cpp:45:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%d %d", &x, &y); ^ user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pachete.in", "r", stdin); ^ user.cpp:43:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pachete.out", "w", stdout); ^ user.cpp:45:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d", &n, &xf, &yf); ^ user.cpp:48:32: 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 Punctaj/grupa
10ms272kbOK1010
20ms288kbOK1010
30ms300kbOK1010
44ms404kbOK1010
556ms1148kbOK1010
660ms1180kbOK1010
716ms528kbOK1010
832ms724kbOK100
960ms1460kbOK10
10Depăşit1168kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?