Pagini recente » Borderou de evaluare (job #389718) | Borderou de evaluare (job #3227697) | Borderou de evaluare (job #643674) | Borderou de evaluare (job #398302) | Borderou de evaluare (job #1362618)
Borderou de evaluare (job #1362618)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d %d %d %d", &lines[i].A.x, &lines[i].A.y, &lines[i].B.x, &lines[i].B.y);
^
user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:97:94: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=]
user.cpp:93:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:97:95: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d %d", &lines[i].A.x, &lines[i].A.y, &lines[i].B.x, &lines[i].B.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 264kb | OK | 10 | 50 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 0ms | 276kb | OK | 10 | 10 |
| 7 | 28ms | 280kb | OK | 10 | 10 |
| 8 | 28ms | 284kb | OK | 10 | 10 |
| 9 | 32ms | 280kb | OK | 10 | 10 |
| 10 | 28ms | 280kb | OK | 10 | 10 |
| Punctaj total | 100 |