Pagini recente » Borderou de evaluare (job #46913) | Borderou de evaluare (job #92205) | Borderou de evaluare (job #1133781) | Borderou de evaluare (job #2017651) | Borderou de evaluare (job #1593791)
Borderou de evaluare (job #1593791)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:27:46: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=]
scanf("%hd %hd", &v[i].X, &v[i].Y);
^
user.cpp:27:46: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
user.cpp:24: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:25:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd %hd", &n, &p , &k);
^
user.cpp:27:47: 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:33:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &x , &y);
^
user.cpp: In function ‘void solve()’:
user.cpp:46: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 460kb | Incorect | 0 |
3 | 8ms | 496kb | Incorect | 0 |
4 | 0ms | 520kb | OK | 10 |
5 | 8ms | 464kb | Incorect | 0 |
6 | 0ms | 464kb | OK | 10 |
7 | 0ms | 468kb | OK | 10 |
8 | 0ms | 464kb | OK | 10 |
9 | 24ms | 516kb | OK | 10 |
10 | 36ms | 492kb | OK | 10 |
Punctaj total | 70 |