Pagini recente » Borderou de evaluare (job #1759623) | Borderou de evaluare (job #2834685) | Borderou de evaluare (job #1043365) | Borderou de evaluare (job #1621879) | Borderou de evaluare (job #1535807)
Borderou de evaluare (job #1535807)
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 | 312kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 20ms | 752kb | OK | 10 |
4 | 0ms | 784kb | OK | 10 |
5 | 8ms | 472kb | OK | 10 |
6 | 0ms | 356kb | OK | 10 |
7 | 0ms | 408kb | OK | 10 |
8 | 0ms | 308kb | OK | 10 |
9 | 0ms | 676kb | OK | 10 |
10 | 12ms | 720kb | OK | 10 |
Punctaj total | 100 |