Pagini recente » Borderou de evaluare (job #116680) | Borderou de evaluare (job #1830479) | Borderou de evaluare (job #672269) | Borderou de evaluare (job #1139350) | Borderou de evaluare (job #1735452)
Borderou de evaluare (job #1735452)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
for(i=1; i<=n; i++) scanf("%d",&a[i]);
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in","r",stdin);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:13:42: 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",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 432kb | Time limit exceeded. | 0 |
2 | 20ms | 420kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 288kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 90 |