Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1612334)
| Utilizator | Data | 24 februarie 2016 20:06:49 | |
|---|---|---|---|
| Problema | Betasah | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 8 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d %d\n", &n, &d, &k);
^
user.cpp:13:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:13:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:16:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n", &x, &y);
^
user.cpp:16:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n", &x, &y);
^
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:11:26: warning: unused variable ‘p’ [-Wunused-variable]
long int d, n, k, m, p, i, j, x, y, nr;
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("betasah.in", "r", stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("betasah.out", "w", stdout);
^
user.cpp:13:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &d, &k);
^
user.cpp:16:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 276kb | Prima cerinta este rezolvata corect, iar a doua este rezolvata gresit. | 2 |
| 2 | 0ms | 284kb | Ambele cerinte sunt rezolvate gresit. | 0 |
| 3 | 0ms | 300kb | Ambele cerinte sunt rezolvate gresit. | 0 |
| 4 | 0ms | 304kb | Ambele cerinte sunt rezolvate gresit. | 0 |
| 5 | 0ms | 300kb | Prima cerinta este rezolvata corect, iar a doua este rezolvata gresit. | 2 |
| 6 | 0ms | 440kb | Ambele cerinte sunt rezolvate gresit. | 0 |
| 7 | 0ms | 356kb | Prima cerinta este rezolvata corect, iar a doua este rezolvata gresit. | 2 |
| 8 | 0ms | 728kb | Prima cerinta este rezolvata corect, iar a doua este rezolvata gresit. | 2 |
| 9 | 0ms | 344kb | Ambele cerinte sunt rezolvate gresit. | 0 |
| 10 | 0ms | 824kb | Ambele cerinte sunt rezolvate gresit. | 0 |
| Punctaj total | 8 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
