Pagini recente » Borderou de evaluare (job #324120) | Borderou de evaluare (job #2175980) | Borderou de evaluare (job #2507552) | Borderou de evaluare (job #833156) | Borderou de evaluare (job #1678685)
Borderou de evaluare (job #1678685)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[i]>last)
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuvinte.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuvinte.out","w",stdout);
^
user.cpp:10: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:12: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 | 276kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 0ms | 368kb | OK | 10 |
| 4 | 0ms | 392kb | OK | 10 |
| 5 | 0ms | 388kb | OK | 10 |
| 6 | 0ms | 412kb | OK | 10 |
| 7 | 0ms | 420kb | OK | 10 |
| 8 | 0ms | 412kb | OK | 10 |
| 9 | 4ms | 432kb | OK | 10 |
| 10 | 4ms | 432kb | OK | 10 |
| Punctaj total | 100 |