Pagini recente » Borderou de evaluare (job #1476904) | Borderou de evaluare (job #1916655) | Borderou de evaluare (job #1748412) | Borderou de evaluare (job #408395) | Borderou de evaluare (job #1527272)
Borderou de evaluare (job #1527272)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData()’:
user.cpp:36:82: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d %d", &nrCops, &nrITMen, &nrCars, &nrRadios, &nrComputers);
^
user.cpp:57:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cntCars);
^
user.cpp:61:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &car);
^
user.cpp:68:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cntRadios);
^
user.cpp:72:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &radio);
^
user.cpp:82:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cntRadios);
^
user.cpp:86:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &radio);
^
user.cpp:93:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cntComputers);
^
user.cpp:97:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &computer);
^
user.cpp: In function ‘int main()’:
user.cpp:147:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("politia.in" ,"r", stdin );
^
user.cpp:148:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("politia.out","w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 652kb | OK | 10 |
2 | 0ms | 1416kb | OK | 10 |
3 | 4ms | 3404kb | Incorect | 0 |
4 | 8ms | 3740kb | OK | 10 |
5 | 8ms | 4320kb | Incorect | 0 |
6 | 12ms | 5664kb | Incorect | 0 |
7 | 0ms | 1020kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 1012kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 1016kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1012kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |