Pagini recente » Borderou de evaluare (job #3026714) | Borderou de evaluare (job #881642) | Borderou de evaluare (job #2452426) | Cod sursa (job #1189246) | Borderou de evaluare (job #1316761)
Borderou de evaluare (job #1316761)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv2.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secv2.out","w",stdout);
^
user.cpp:9: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:10:44: 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",&a[i]);
^
user.cpp:15:14: warning: ‘sum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
maxim=sum;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK! | 10 |
| 2 | 0ms | 264kb | OK! | 10 |
| 3 | 0ms | 256kb | OK! | 10 |
| 4 | 0ms | 260kb | OK! | 10 |
| 5 | 0ms | 272kb | OK! | 10 |
| 6 | 0ms | 296kb | OK! | 10 |
| 7 | 4ms | 316kb | OK! | 10 |
| 8 | 4ms | 356kb | OK! | 10 |
| 9 | 8ms | 384kb | OK! | 10 |
| 10 | 8ms | 380kb | Wall time limit exceeded. | 0 |
| Punctaj total | 90 |