Pagini recente » Borderou de evaluare (job #1360036) | Borderou de evaluare (job #2975644) | Borderou de evaluare (job #171705) | Borderou de evaluare (job #63085) | Borderou de evaluare (job #517007)
Borderou de evaluare (job #517007)
Raport evaluator
Compilare:
user.cpp: In function ‘void citi()’:
user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d", &N, &P, &K);
^
user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:28:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &t[i], &c[i]);
^
user.cpp:28:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:32:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &x, &y);
^
user.cpp:32:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &P, &K);
^
user.cpp:28:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &t[i], &c[i]);
^
user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:87:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "r", stdin);
^
user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | Incorect | 0 |
2 | 0ms | 428kb | OK | 10 |
3 | 8ms | 460kb | Incorect | 0 |
4 | 0ms | 428kb | Incorect | 0 |
5 | 8ms | 456kb | OK | 10 |
6 | 0ms | 428kb | Incorect | 0 |
7 | 0ms | 444kb | Incorect | 0 |
8 | 0ms | 432kb | Incorect | 0 |
9 | 0ms | 452kb | Incorect | 0 |
10 | 8ms | 464kb | Incorect | 0 |
Punctaj total | 20 |