Pagini recente » Borderou de evaluare (job #2783863) | Borderou de evaluare (job #2390373) | Borderou de evaluare (job #2128344) | Borderou de evaluare (job #369102) | Borderou de evaluare (job #1689511)
Borderou de evaluare (job #1689511)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",(cn+1)/2);
^
user.cpp:23:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(cn+1)/2);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("horse.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("horse.out","w",stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&va);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 5 |
2 | 0ms | 304kb | OK | 5 |
3 | 0ms | 308kb | OK | 5 |
4 | 0ms | 316kb | OK | 5 |
5 | 0ms | 280kb | OK | 5 |
6 | 0ms | 288kb | OK | 5 |
7 | 0ms | 300kb | OK | 5 |
8 | 0ms | 312kb | OK | 5 |
9 | 0ms | 320kb | OK | 5 |
10 | 0ms | 548kb | OK | 5 |
11 | 0ms | 312kb | OK | 5 |
12 | 0ms | 312kb | OK | 5 |
13 | 0ms | 324kb | OK | 5 |
14 | 0ms | 336kb | OK | 5 |
15 | 0ms | 324kb | OK | 5 |
16 | 0ms | 336kb | OK | 5 |
17 | 0ms | 316kb | OK | 5 |
18 | 0ms | 344kb | OK | 5 |
19 | 4ms | 596kb | OK | 5 |
20 | 0ms | 500kb | OK | 5 |
Punctaj total | 100 |