Pagini recente » Borderou de evaluare (job #3307924) | Borderou de evaluare (job #2702398) | Borderou de evaluare (job #2708854) | Borderou de evaluare (job #1338156) | Borderou de evaluare (job #1588018)
Borderou de evaluare (job #1588018)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "r", stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:13:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; i++) scanf("%d", &pret[i]);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &j);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK! | 10 |
| 2 | 0ms | 292kb | OK! | 10 |
| 3 | 0ms | 324kb | A doua valoare gresita! | 7 |
| 4 | 0ms | 288kb | OK! | 10 |
| 5 | 0ms | 320kb | Gresit! | 0 |
| 6 | 0ms | 320kb | Gresit! | 0 |
| 7 | 0ms | 292kb | Gresit! | 0 |
| 8 | 0ms | 312kb | Gresit! | 0 |
| 9 | 0ms | 316kb | Gresit! | 0 |
| 10 | 0ms | 292kb | A doua valoare gresita! | 7 |
| Punctaj total | 44 |