Pagini recente » Borderou de evaluare (job #712829) | Borderou de evaluare (job #550467) | Borderou de evaluare (job #2527325) | Borderou de evaluare (job #2539479) | Borderou de evaluare (job #1243449)
Borderou de evaluare (job #1243449)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14: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]);//f>>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:13: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:14: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]);//f>>a[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 452kb | Time limit exceeded. | 0 |
2 | 20ms | 444kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 0ms | 300kb | OK | 10 |
6 | 0ms | 308kb | OK | 10 |
7 | 0ms | 308kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 316kb | OK | 10 |
10 | 0ms | 300kb | OK | 10 |
Punctaj total | 90 |