Borderou de evaluare (job #2129125)

Utilizator victorv88Veltan Victor victorv88 Data 12 februarie 2018 16:09:40
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:173: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:174: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:175:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:176: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:180:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&nrobs); ^ user.cpp:183: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
10ms3408kbPrimul numar corect1
20ms3452kbRaspuns gresit0
38ms5620kbRaspuns gresit0
4Depăşit7888kbTime limit exceeded.0
5Depăşit8716kbTime limit exceeded.0
6Depăşit9164kbTime limit exceeded.0
7Depăşit7996kbTime limit exceeded.0
868ms5640kbPrimul numar corect1
9Depăşit8848kbTime limit exceeded.0
10Depăşit16316kbTime limit exceeded.0
11Depăşit16284kbTime limit exceeded.0
12Depăşit8524kbTime limit exceeded.0
13188msDepăşitMemory limit exceeded.0
14140msDepăşitMemory limit exceeded.0
15Depăşit11052kbTime limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1796msDepăşitMemory limit exceeded.0
1888msDepăşitMemory limit exceeded.0
19Depăşit18520kbTime limit exceeded.0
20Depăşit11012kbTime limit exceeded.0
Punctaj total2

Ceva nu functioneaza?