Pagini recente » Borderou de evaluare (job #2394852) | Borderou de evaluare (job #2101395) | Borderou de evaluare (job #2733315) | Borderou de evaluare (job #2142936) | Borderou de evaluare (job #1535442)
Borderou de evaluare (job #1535442)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d", &heads, &p, &k);
^
user.cpp:73:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:75:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &v[i].x, &v[i].y);
^
user.cpp:75:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:78:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &a, &b);
^
user.cpp:78:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:71:36: 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:72:38: 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);
^
user.cpp:73:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &heads, &p, &k);
^
user.cpp:75:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v[i].x, &v[i].y);
^
user.cpp:78:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Incorect | 0 |
2 | 0ms | 300kb | OK | 10 |
3 | 8ms | 592kb | Incorect | 0 |
4 | 0ms | 592kb | Incorect | 0 |
5 | 8ms | 524kb | OK | 10 |
6 | 0ms | 328kb | Incorect | 0 |
7 | 0ms | 360kb | Incorect | 0 |
8 | 0ms | 304kb | Incorect | 0 |
9 | 0ms | 520kb | Incorect | 0 |
10 | 12ms | 588kb | Incorect | 0 |
Punctaj total | 20 |