Pagini recente » Borderou de evaluare (job #1022378) | Borderou de evaluare (job #3289223) | Borderou de evaluare (job #1590683) | Borderou de evaluare (job #928646) | Borderou de evaluare (job #1671281)
Borderou de evaluare (job #1671281)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55: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:55:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:53: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:55: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 | 248kb | Corect! | 10 |
3 | 0ms | 256kb | Corect! | 10 |
4 | 0ms | 260kb | Corect! | 10 |
5 | 4ms | 272kb | Corect! | 10 |
6 | 4ms | 272kb | Corect! | 10 |
7 | 8ms | 284kb | Corect! | 10 |
8 | 8ms | 292kb | Corect! | 10 |
9 | 12ms | 308kb | Corect! | 10 |
10 | 12ms | 304kb | Corect! | 10 |
Punctaj total | 100 |