Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2409239)
| Utilizator | Data | 18 aprilie 2019 20:09:29 | |
|---|---|---|---|
| Problema | Heroes of Might & Magic | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void rez()':
main.cpp:65:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", suma);
^
main.cpp: In function 'long long int calcDist(int, int, int)':
main.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'void rez()':
main.cpp:38:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &k);
^
main.cpp:43:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
main.cpp:56:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n%d %d", &si, &sj, &fi, &fj);
^
main.cpp: In function 'int main()':
main.cpp:70:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.in", "r", stdin);
^
main.cpp:71:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.out", "w", stdout);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 6ms | 2228kb | OK | 10 |
| 2 | 6ms | 2228kb | OK | 10 |
| 3 | 6ms | 2228kb | OK | 10 |
| 4 | 6ms | 2228kb | OK | 10 |
| 5 | 6ms | 2228kb | OK | 10 |
| 6 | 6ms | 2228kb | OK | 10 |
| 7 | 6ms | 2228kb | OK | 10 |
| 8 | 6ms | 2228kb | OK | 10 |
| 9 | 6ms | 2228kb | OK | 10 |
| 10 | 6ms | 2228kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
