Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1834234)
| Utilizator | Data | 24 decembrie 2016 08:32:56 | |
|---|---|---|---|
| Problema | Padure | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 20 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void readFile()’:
user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d%d", &pozs.l, &pozs.c);
^
user.cpp:35:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:36:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d%d", &pozf.l, &pozf.c);
^
user.cpp:36:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:43:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &a[i][j]);
^
user.cpp:34:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &m);
^
user.cpp:35:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &pozs.l, &pozs.c);
^
user.cpp:36:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &pozf.l, &pozf.c);
^
user.cpp:43:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &a[i][j]);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 328kb | Incorect | 0 |
| 2 | 0ms | 380kb | Incorect | 0 |
| 3 | 0ms | 656kb | OK | 10 |
| 4 | 4ms | 992kb | Incorect | 0 |
| 5 | 4ms | 924kb | Incorect | 0 |
| 6 | 24ms | 2412kb | OK | 10 |
| 7 | 324ms | 12072kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | Depăşit | 12076kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 10488kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 10536kb | Time limit exceeded. | 0 |
| Punctaj total | 20 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
