Borderou de evaluare (job #1980993)

Utilizator cristina_borzaCristina Borza cristina_borza Data 14 mai 2017 15:56:32
Problema Camere Status done
Runda Lot 2017 Baraj 1 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[2005]’ [-Wformat=] scanf ("%s", &sir[ i ]); ^ user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("camere.in", "r", stdin); ^ user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("camere.out", "w", stdout); ^ user.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &n, &m); ^ user.cpp:60:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &sir[ i ]); ^ user.cpp:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^ user.cpp:72:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d %d", &l1, &c1, &l2, &c2); int ans = 0; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms932kbOK5
216ms932kbOK5
376ms932kbOK5
4Depăşit24708kbTime limit exceeded.0
5Depăşit20560kbTime limit exceeded.0
6Depăşit21068kbTime limit exceeded.0
7Depăşit21372kbTime limit exceeded.0
8Depăşit21036kbTime limit exceeded.0
9Depăşit21192kbTime limit exceeded.0
10Depăşit20508kbTime limit exceeded.0
11Depăşit20684kbTime limit exceeded.0
12Depăşit21224kbTime limit exceeded.0
1340ms936kbOK5
14Depăşit27640kbTime limit exceeded.0
15Depăşit15820kbTime limit exceeded.0
161604ms12408kbOK5
172608ms10552kbOK5
18Depăşit21184kbTime limit exceeded.0
19Depăşit23048kbTime limit exceeded.0
20Depăşit23056kbTime limit exceeded.0
21Depăşit21152kbTime limit exceeded.0
22Depăşit20904kbTime limit exceeded.0
23Depăşit21080kbTime limit exceeded.0
24Depăşit21260kbTime limit exceeded.0
25Depăşit21020kbTime limit exceeded.0
26Depăşit21236kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?