Pagini recente » Borderou de evaluare (job #2891314) | Borderou de evaluare (job #2334186) | Borderou de evaluare (job #2908681) | Borderou de evaluare (job #3149838) | Borderou de evaluare (job #1907422)
Borderou de evaluare (job #1907422)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:40:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[255]’ [-Wformat=]
fscanf(fin, "%s", &s);
^
user.cpp:47:33: warning: NULL used in arithmetic [-Wpointer-arith]
for (int i = 0; s[i] != NULL; i++)
^
user.cpp:65:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[255]’ [-Wformat=]
fscanf(fin, "%s", &s);
^
user.cpp:37:9: warning: unused variable ‘inv’ [-Wunused-variable]
int inv, cop, nn, nr;
^
user.cpp:37:14: warning: unused variable ‘cop’ [-Wunused-variable]
int inv, cop, nn, nr;
^
user.cpp:37:23: warning: unused variable ‘nr’ [-Wunused-variable]
int inv, cop, nn, nr;
^
user.cpp:40:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", &s);
^
user.cpp:65:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%s", &s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Incorect | 0 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 0ms | 272kb | Incorect | 0 |
| 4 | 0ms | 268kb | Incorect | 0 |
| 5 | 0ms | 264kb | Incorect | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 0ms | 268kb | Incorect | 0 |
| 8 | 0ms | 264kb | Incorect | 0 |
| 9 | 0ms | 268kb | Incorect | 0 |
| 10 | 0ms | 268kb | Incorect | 0 |
| 11 | 0ms | 268kb | OK | 5 |
| 12 | 0ms | 272kb | Incorect | 0 |
| 13 | 0ms | 268kb | Incorect | 0 |
| 14 | 0ms | 272kb | Incorect | 0 |
| 15 | 0ms | 268kb | OK | 5 |
| 16 | 0ms | 268kb | OK | 5 |
| 17 | 0ms | 272kb | Incorect | 0 |
| 18 | 0ms | 268kb | Incorect | 0 |
| 19 | 0ms | 272kb | Incorect | 0 |
| 20 | 0ms | 272kb | Incorect | 0 |
| Punctaj total | 15 |