Pagini recente » Borderou de evaluare (job #348899) | Borderou de evaluare (job #3005087) | Borderou de evaluare (job #2562661) | Borderou de evaluare (job #1806692) | Borderou de evaluare (job #1535801)
Borderou de evaluare (job #1535801)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:73:38: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=]
scanf("%hd%hd%hd", &heads, &p, &k);
^
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:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd", &heads, &p, &k);
^
user.cpp:75:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &v[i].x, &v[i].y);
^
user.cpp:78:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 20ms | 756kb | OK | 10 |
4 | 0ms | 792kb | OK | 10 |
5 | 8ms | 476kb | OK | 10 |
6 | 0ms | 360kb | OK | 10 |
7 | 0ms | 416kb | OK | 10 |
8 | 0ms | 308kb | OK | 10 |
9 | 0ms | 680kb | OK | 10 |
10 | 12ms | 724kb | OK | 10 |
Punctaj total | 100 |