Pagini recente » Borderou de evaluare (job #475896) | Borderou de evaluare (job #1615414) | Borderou de evaluare (job #3147860) | Borderou de evaluare (job #1689333) | Borderou de evaluare (job #1688990)
Borderou de evaluare (job #1688990)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (int i=1;i<=n;i++) scanf("%d",&t[i]);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) scanf("%d",&t[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 4ms | 308kb | OK | 10 |
6 | 4ms | 324kb | OK | 10 |
7 | 8ms | 360kb | OK | 10 |
8 | 20ms | 460kb | OK | 10 |
9 | 36ms | 564kb | OK | 10 |
10 | 48ms | 656kb | OK | 10 |
Punctaj total | 100 |