Pagini recente » Borderou de evaluare (job #1569606) | Borderou de evaluare (job #2215641) | Cod sursa (job #964610) | Cod sursa (job #2514100) | Borderou de evaluare (job #1554744)
Borderou de evaluare (job #1554744)
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 | 892kb | OK | 10 |
2 | 0ms | 464kb | Incorect | 0 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 464kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 472kb | OK | 10 |
7 | 8ms | 784kb | OK | 10 |
8 | 16ms | 892kb | OK | 10 |
9 | 16ms | 888kb | OK | 10 |
10 | 16ms | 896kb | OK | 10 |
Punctaj total | 90 |