Pagini recente » Borderou de evaluare (job #1883320) | Cod sursa (job #2412508) | Borderou de evaluare (job #1447071) | Borderou de evaluare (job #414914) | Borderou de evaluare (job #2117900)
Borderou de evaluare (job #2117900)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:108:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d" , &V);
^
user.cpp: In function ‘void Solve1()’:
user.cpp:52:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld" , &n);
^
user.cpp:54:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld" , &x) , mn = minim(mn,x) , mx = maxim(mx,x);
^
user.cpp: In function ‘void Solve2()’:
user.cpp:63:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lld%lld%lld" , &n , &inc , &fin );
^
user.cpp:65:76: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%lld" , &x) , fr[x]++ , mx = maxim(mx,x) , mn = minim(mn,x);
^
user.cpp: In function ‘void Read()’:
user.cpp:108:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &V);
^
user.cpp: In function ‘int main()’:
user.cpp:117:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN,"r",stdin);
^
user.cpp:118:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT,"w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 80ms | 816kb | OK | 5 |
2 | 60ms | 808kb | OK | 5 |
3 | 44ms | 760kb | OK | 5 |
4 | 44ms | 804kb | OK | 5 |
5 | 60ms | 940kb | OK | 5 |
6 | 0ms | 2724kb | OK | 5 |
7 | 0ms | 2728kb | OK | 5 |
8 | 56ms | 2984kb | OK | 5 |
9 | 68ms | 3048kb | OK | 5 |
10 | 16ms | 2792kb | OK | 5 |
11 | 76ms | 3064kb | OK | 5 |
12 | 48ms | 2976kb | OK | 5 |
13 | 60ms | 3036kb | OK | 5 |
14 | 356ms | 4620kb | OK | 5 |
15 | 464ms | 5240kb | OK | 5 |
16 | 360ms | 4428kb | OK | 5 |
17 | 540ms | 5188kb | OK | 5 |
18 | 472ms | 4908kb | OK | 5 |
19 | 308ms | 4400kb | OK | 5 |
20 | 24ms | 756kb | OK | 5 |
Punctaj total | 100 |