Pagini recente » Borderou de evaluare (job #3204973) | Borderou de evaluare (job #2314383) | Borderou de evaluare (job #3157024) | Borderou de evaluare (job #2424188) | Borderou de evaluare (job #1254567)
Borderou de evaluare (job #1254567)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData(const char*, gutui**, long int*, long int*, long int*)’:
user.cpp:30:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(file, "%i%i%i", gmax, H, U);
^
user.cpp:30:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:30:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:30:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%i%i%i", gmax, H, U);
^
user.cpp:34:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file, "%li%li", &g[i].h, &g[i].w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 4ms | 344kb | Incorect | 0 |
8 | 12ms | 428kb | Incorect | 0 |
9 | 44ms | 740kb | Incorect | 0 |
10 | 76ms | 1052kb | Incorect | 0 |
Punctaj total | 10 |