Pagini recente » Borderou de evaluare (job #733271) | Borderou de evaluare (job #1845888) | Borderou de evaluare (job #680819) | Borderou de evaluare (job #1599899) | Borderou de evaluare (job #1678272)
Borderou de evaluare (job #1678272)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d%d%d%d", &p.l, &p.c, &rez.l, &rez.c);
^
user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &m);
^
user.cpp:28:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &l, &col);
^
user.cpp:31:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d%d", &p.l, &p.c, &rez.l, &rez.c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 464kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 0ms | 468kb | Incorect | 0 |
6 | 0ms | 560kb | Incorect | 0 |
7 | 4ms | 560kb | Incorect | 0 |
8 | 0ms | 576kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 504kb | Incorect | 0 |
10 | 0ms | 468kb | Incorect | 0 |
Punctaj total | 0 |