Pagini recente » Borderou de evaluare (job #2603412) | Borderou de evaluare (job #818777) | Borderou de evaluare (job #2531196) | Borderou de evaluare (job #994222) | Borderou de evaluare (job #1194887)
Borderou de evaluare (job #1194887)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:15: warning: unused variable ‘maxi’ [-Wunused-variable]
long long maxi=-INF,sol=-INF;
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spargere2.in","r",stdin);
^
user.cpp:14:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spargere2.out","w",stdout);
^
user.cpp:18: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:20: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 |
Punctaj/grupa |
| 1 | 0ms | 256kb | OK | 10 | 0 |
| 2 | 0ms | 252kb | Incorect | 0 |
| 3 | 0ms | 252kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 16ms | 1416kb | OK | 10 |
| 6 | 20ms | 1412kb | Incorect | 0 |
| 7 | 32ms | 1420kb | OK | 10 |
| 8 | 28ms | 1416kb | OK | 10 |
| 9 | 28ms | 1412kb | OK | 10 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 0 |