Pagini recente » Monitorul de evaluare | Cod sursa (job #3282016) | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #1545636)
Borderou de evaluare (job #1545636)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suman.in","r",stdin);
^
user.cpp:60:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suman.out","w",stdout);
^
user.cpp:64:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &n);
^
user.cpp:65:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &k);
^
user.cpp:66:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;i++) scanf("%u", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 472kb | OK | 10 | 30 |
| 2 | 0ms | 468kb | OK | 10 |
| 3 | 0ms | 464kb | OK | 10 |
| 4 | 140ms | 468kb | OK | 10 | 70 |
| 5 | 236ms | 464kb | OK | 10 |
| 6 | 0ms | 468kb | OK | 10 |
| 7 | 0ms | 464kb | OK | 10 |
| 8 | 288ms | 468kb | OK | 10 |
| 9 | 340ms | 468kb | OK | 10 |
| 10 | 132ms | 464kb | OK | 10 |
| Punctaj total | 100 |