Pagini recente » Borderou de evaluare (job #1991852) | Borderou de evaluare (job #832169) | Borderou de evaluare (job #2082919) | Borderou de evaluare (job #2415632) | Borderou de evaluare (job #1826803)
Borderou de evaluare (job #1826803)
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("asmax.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("asmax.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:25:46: 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",&val[i]);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 1104kb | OK | 10 |
2 | 0ms | 620kb | Incorect | 0 |
3 | 0ms | 632kb | OK | 10 |
4 | 0ms | 620kb | OK | 10 |
5 | 0ms | 624kb | OK | 10 |
6 | 0ms | 632kb | OK | 10 |
7 | 8ms | 956kb | OK | 10 |
8 | 16ms | 1096kb | OK | 10 |
9 | 16ms | 1100kb | OK | 10 |
10 | 16ms | 1104kb | OK | 10 |
Punctaj total | 90 |