Pagini recente » Cod sursa (job #863166) | Borderou de evaluare (job #2613824) | Borderou de evaluare (job #1520062) | Borderou de evaluare (job #2610512) | Borderou de evaluare (job #1527260)
Borderou de evaluare (job #1527260)
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 | 648kb | OK | 10 |
| 2 | 0ms | 1412kb | OK | 10 |
| 3 | 4ms | 3404kb | Incorect | 0 |
| 4 | 12ms | 3740kb | OK | 10 |
| 5 | 8ms | 4316kb | Incorect | 0 |
| 6 | 12ms | 5664kb | Incorect | 0 |
| 7 | 136ms | 7368kb | Incorect | 0 |
| 8 | 132ms | 7352kb | Incorect | 0 |
| 9 | 132ms | 7408kb | Incorect | 0 |
| 10 | 128ms | 7432kb | Incorect | 0 |
| Punctaj total | 30 |