Pagini recente » Borderou de evaluare (job #2849355) | Borderou de evaluare (job #1276) | Borderou de evaluare (job #194375) | Borderou de evaluare (job #2224547) | Borderou de evaluare (job #1387776)
Borderou de evaluare (job #1387776)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",smax);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle2.out","w",stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 12ms | 488kb | OK | 10 |
5 | 16ms | 488kb | OK | 10 |
6 | 16ms | 568kb | OK | 10 |
7 | 16ms | 564kb | OK | 10 |
8 | 20ms | 640kb | OK | 10 |
9 | 24ms | 640kb | OK | 10 |
10 | 24ms | 640kb | OK | 10 |
Punctaj total | 100 |