Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2370331)
| Utilizator | Data | 6 martie 2019 11:39:18 | |
|---|---|---|---|
| Problema | Sarpe2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 90 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:62:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",sum);
^
main.cpp:16:17: warning: unused variable 'nr' [-Wunused-variable]
int n,m,i,j,nr;
^~
main.cpp:14:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe2.in","r",stdin);
^
main.cpp:15:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe2.out","w",stdout);
^
main.cpp:18:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:19:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++){scanf("%d",&k[i]);}
^
main.cpp:25:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 393kb | Incorect | 0 | 0 |
| 2 | 3ms | 393kb | Incorect | 0 | |
| 3 | 8ms | 1048kb | OK | 5 | 10 |
| 4 | 7ms | 1048kb | OK | 5 | |
| 5 | 23ms | 1966kb | OK | 5 | 10 |
| 6 | 18ms | 1703kb | OK | 5 | |
| 7 | 390ms | 9175kb | OK | 5 | 10 |
| 8 | 332ms | 9306kb | OK | 5 | |
| 9 | 383ms | 8781kb | OK | 5 | 10 |
| 10 | 328ms | 9306kb | OK | 5 | |
| 11 | 360ms | 9043kb | OK | 5 | 10 |
| 12 | 371ms | 9306kb | OK | 5 | |
| 13 | 412ms | 9306kb | OK | 5 | 10 |
| 14 | 352ms | 9306kb | OK | 5 | |
| 15 | 384ms | 9175kb | OK | 5 | 10 |
| 16 | 375ms | 9306kb | OK | 5 | |
| 17 | 387ms | 8912kb | OK | 5 | 10 |
| 18 | 313ms | 9306kb | OK | 5 | |
| 19 | 396ms | 9306kb | OK | 5 | 10 |
| 20 | 353ms | 9568kb | OK | 5 | |
| Punctaj total | 90 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
