Pagini recente » Borderou de evaluare (job #2641567) | Borderou de evaluare (job #2747211) | Borderou de evaluare (job #502134) | Borderou de evaluare (job #879361) | Borderou de evaluare (job #1835904)
Borderou de evaluare (job #1835904)
Raport evaluator
Compilare:
user.cpp: In function ‘void readFile()’:
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d%d%d%d%d%d\n", &n, &m, &pozs.l, &pozs.c, &pozf.l, &pozf.c);
^
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=]
user.cpp:42:76: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d%d%d%d\n", &n, &m, &pozs.l, &pozs.c, &pozf.l, &pozf.c);
^
user.cpp:49:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 2007, f);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 344kb | Incorect | 0 |
| 2 | 0ms | 688kb | Incorect | 0 |
| 3 | 0ms | 676kb | Incorect | 0 |
| 4 | 4ms | 1072kb | Incorect | 0 |
| 5 | 0ms | 752kb | OK | 10 |
| 6 | 0ms | 748kb | Incorect | 0 |
| 7 | 4ms | 1408kb | Incorect | 0 |
| 8 | 108ms | 3040kb | Incorect | 0 |
| 9 | 412ms | 5512kb | Incorect | 0 |
| 10 | 348ms | 6904kb | Incorect | 0 |
| Punctaj total | 10 |