Pagini recente » Borderou de evaluare (job #1626032) | Borderou de evaluare (job #2123799) | Cod sursa (job #1908330) | Borderou de evaluare (job #684966) | Borderou de evaluare (job #1628808)
Borderou de evaluare (job #1628808)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=]
fscanf(in, "%d%d%d%d", &segments_string[i].x1, &segments_string[i].y1, &segments_string[i].x2, &segments_string[i].y2);
^
user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘double*’ [-Wformat=]
user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘double*’ [-Wformat=]
user.cpp:23:126: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘double*’ [-Wformat=]
user.cpp:21:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &nr_of_segments);
^
user.cpp:23:127: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d%d", &segments_string[i].x1, &segments_string[i].y1, &segments_string[i].x2, &segments_string[i].y2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 436kb | Incorect | 0 | 0 |
| 2 | 0ms | 432kb | Incorect | 0 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 436kb | Incorect | 0 |
| 5 | 4ms | 432kb | Incorect | 0 |
| 6 | 4ms | 432kb | Incorect | 0 | 0 |
| 7 | 120ms | 436kb | Incorect | 0 | 0 |
| 8 | 120ms | 440kb | Incorect | 0 | 0 |
| 9 | 116ms | 436kb | Incorect | 0 | 0 |
| 10 | 116ms | 436kb | Incorect | 0 | 0 |
| Punctaj total | 0 |