Pagini recente » Cod sursa (job #401802) | Cod sursa (job #714596) | Borderou de evaluare (job #1448777) | Borderou de evaluare (job #1822205) | Borderou de evaluare (job #1460854)
Borderou de evaluare (job #1460854)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.in","r",stdin);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.out","w",stdout);
^
user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:27:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]), s+=a[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 448kb | OK | 10 | 40 |
| 2 | 0ms | 456kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 8ms | 456kb | OK | 10 |
| 5 | 36ms | 456kb | OK | 10 | 40 |
| 6 | 0ms | 452kb | OK | 10 |
| 7 | 64ms | 456kb | OK | 10 |
| 8 | 8ms | 456kb | OK | 10 |
| 9 | 4ms | 456kb | OK | 10 | 20 |
| 10 | 48ms | 460kb | OK | 10 |
| Punctaj total | 100 |