Pagini recente » Borderou de evaluare (job #807714) | Borderou de evaluare (job #3352574) | Borderou de evaluare (job #2854655) | Borderou de evaluare (job #189340) | Borderou de evaluare (job #1554746)
Borderou de evaluare (job #1554746)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:31: 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:25:33: 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:26:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); sol=-999999999;
^
user.cpp:27:60: 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]),sol=max(sol,t[i]);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 896kb | OK | 10 |
| 2 | 0ms | 460kb | OK | 10 |
| 3 | 0ms | 472kb | OK | 10 |
| 4 | 0ms | 468kb | OK | 10 |
| 5 | 0ms | 464kb | OK | 10 |
| 6 | 0ms | 464kb | OK | 10 |
| 7 | 8ms | 784kb | OK | 10 |
| 8 | 16ms | 888kb | OK | 10 |
| 9 | 16ms | 888kb | OK | 10 |
| 10 | 16ms | 888kb | OK | 10 |
| Punctaj total | 100 |