Pagini recente » Borderou de evaluare (job #3158340) | Borderou de evaluare (job #2985180) | Borderou de evaluare (job #2718573) | Borderou de evaluare (job #3282984) | Borderou de evaluare (job #1671284)
Borderou de evaluare (job #1671284)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d%d", &p[i].x, &p[i].y);
^
user.cpp:53:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:51:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
user.cpp:53:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &p[i].x, &p[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | Corect! | 10 |
| 2 | 0ms | 252kb | Corect! | 10 |
| 3 | 0ms | 248kb | Corect! | 10 |
| 4 | 0ms | 256kb | Corect! | 10 |
| 5 | 4ms | 272kb | Corect! | 10 |
| 6 | 4ms | 272kb | Corect! | 10 |
| 7 | 8ms | 288kb | Corect! | 10 |
| 8 | 8ms | 288kb | Corect! | 10 |
| 9 | 12ms | 304kb | Corect! | 10 |
| 10 | 12ms | 304kb | Corect! | 10 |
| Punctaj total | 100 |