Pagini recente » Borderou de evaluare (job #3145462) | Borderou de evaluare (job #1422004) | Borderou de evaluare (job #2641496) | Borderou de evaluare (job #464452) | Borderou de evaluare (job #1207423)
Borderou de evaluare (job #1207423)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d %d %d\n", &n, &p, &k);
^
user.cpp:26:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:26:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:30:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d %d\n", &d[i], &c[i]);
^
user.cpp:30:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:46:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d %d\n", &x, &y);
^
user.cpp:46:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:26:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d\n", &n, &p, &k);
^
user.cpp:30:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d\n", &d[i], &c[i]);
^
user.cpp:46:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | Incorect | 0 |
2 | 0ms | 464kb | OK | 10 |
3 | 8ms | 460kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 8ms | 456kb | OK | 10 |
6 | 0ms | 460kb | Incorect | 0 |
7 | 0ms | 460kb | Incorect | 0 |
8 | 0ms | 464kb | Incorect | 0 |
9 | 0ms | 460kb | Incorect | 0 |
10 | 12ms | 456kb | Incorect | 0 |
Punctaj total | 20 |