Pagini recente » Borderou de evaluare (job #1828290) | Borderou de evaluare (job #2402180) | Borderou de evaluare (job #2106096) | Borderou de evaluare (job #454394) | Borderou de evaluare (job #2117891)
Borderou de evaluare (job #2117891)
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 | 756kb | OK | 5 |
| 2 | 60ms | 868kb | OK | 5 |
| 3 | 44ms | 872kb | OK | 5 |
| 4 | 44ms | 880kb | OK | 5 |
| 5 | 60ms | 812kb | OK | 5 |
| 6 | 0ms | 2724kb | OK | 5 |
| 7 | 0ms | 2724kb | OK | 5 |
| 8 | 56ms | 2988kb | OK | 5 |
| 9 | 68ms | 3048kb | OK | 5 |
| 10 | 16ms | 2792kb | OK | 5 |
| 11 | 76ms | 3064kb | OK | 5 |
| 12 | 48ms | 2980kb | OK | 5 |
| 13 | 60ms | 3032kb | OK | 5 |
| 14 | 356ms | 4628kb | OK | 5 |
| 15 | 464ms | 5244kb | OK | 5 |
| 16 | 360ms | 4420kb | OK | 5 |
| 17 | 536ms | 5192kb | OK | 5 |
| 18 | 472ms | 4904kb | OK | 5 |
| 19 | 308ms | 4396kb | OK | 5 |
| 20 | 24ms | 752kb | OK | 5 |
| Punctaj total | 100 |