Pagini recente » Borderou de evaluare (job #1747629) | Borderou de evaluare (job #1114339) | Borderou de evaluare (job #2533788) | Borderou de evaluare (job #1295257) | Borderou de evaluare (job #1527274)
Borderou de evaluare (job #1527274)
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 | 692kb | OK | 10 |
2 | 0ms | 1536kb | OK | 10 |
3 | 4ms | 3776kb | Incorect | 0 |
4 | 8ms | 4156kb | OK | 10 |
5 | 8ms | 4760kb | Incorect | 0 |
6 | 12ms | 6324kb | Incorect | 0 |
7 | 120ms | 8368kb | Incorect | 0 |
8 | 120ms | 8352kb | Incorect | 0 |
9 | 120ms | 8420kb | Incorect | 0 |
10 | 116ms | 8444kb | Incorect | 0 |
Punctaj total | 30 |