Borderou de evaluare (job #2129162)

Utilizator victorv88Veltan Victor victorv88 Data 12 februarie 2018 16:24:49
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 2

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:170:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ai.in","r",stdin); ^ user.cpp:171:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ai.out","w",stdout); ^ user.cpp:172:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:173:133: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d %d %d %d %d %d\n",&ltinta,&ctinta,&lsursa1,&csursa1,&lsursa2,&csursa2,&lrobot1,&crobot1,&lrobot2,&crobot2); ^ user.cpp:177:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&nrobs); ^ user.cpp:180:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&lobs,&cobs); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms3412kbPrimul numar corect1
20ms3448kbRaspuns gresit0
38ms5624kbRaspuns gresit0
4Depăşit7896kbTime limit exceeded.0
5Depăşit8728kbTime limit exceeded.0
6Depăşit9168kbTime limit exceeded.0
7Depăşit8000kbTime limit exceeded.0
868ms5640kbPrimul numar corect1
9Depăşit8856kbTime limit exceeded.0
10Depăşit16320kbTime limit exceeded.0
11Depăşit16296kbTime limit exceeded.0
12Depăşit8524kbTime limit exceeded.0
13188msDepăşitMemory limit exceeded.0
14140msDepăşitMemory limit exceeded.0
15Depăşit11056kbTime limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1796msDepăşitMemory limit exceeded.0
1888msDepăşitMemory limit exceeded.0
19Depăşit18512kbTime limit exceeded.0
20Depăşit11008kbTime limit exceeded.0
Punctaj total2

Ceva nu functioneaza?