Pagini recente » Borderou de evaluare (job #2166119) | Borderou de evaluare (job #3041425) | Cod sursa (job #1754537) | Borderou de evaluare (job #2666249) | Borderou de evaluare (job #1405278)
Borderou de evaluare (job #1405278)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:15: warning: unused variable ‘max’ [-Wunused-variable]
int i,poz,max,s;
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.in","r",stdin);
^
user.cpp:29:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calcule.out","w",stdout);
^
user.cpp:30: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:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 8ms | 356kb | OK | 10 |
| 3 | 24ms | 524kb | OK | 10 |
| 4 | 28ms | 604kb | OK | 10 |
| 5 | 32ms | 660kb | OK | 10 |
| 6 | 12ms | 468kb | OK | 10 |
| 7 | 24ms | 636kb | OK | 10 |
| 8 | 32ms | 724kb | OK | 10 |
| 9 | 32ms | 772kb | OK | 10 |
| 10 | 32ms | 840kb | OK | 10 |
| Punctaj total | 100 |