Pagini recente » Borderou de evaluare (job #595244) | Borderou de evaluare (job #1882181) | Borderou de evaluare (job #3152060) | Borderou de evaluare (job #1750653) | Borderou de evaluare (job #1569965)
Borderou de evaluare (job #1569965)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &d[i], &c[i]);
^
user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:34:12: warning: unused variable ‘nr’ [-Wunused-variable]
int n, i, nr, j, p, k,x1,y1;
^
user.cpp:34:16: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, nr, j, p, k,x1,y1;
^
user.cpp:36: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:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &d[i], &c[i]);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x1, &y1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 496kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 8ms | 588kb | OK | 10 |
4 | 0ms | 588kb | OK | 10 |
5 | 8ms | 488kb | OK | 10 |
6 | 0ms | 504kb | OK | 10 |
7 | 0ms | 516kb | OK | 10 |
8 | 0ms | 492kb | Incorect | 0 |
9 | 0ms | 564kb | OK | 10 |
10 | 12ms | 592kb | OK | 10 |
Punctaj total | 90 |