Pagini recente » Borderou de evaluare (job #1408466) | Borderou de evaluare (job #1675731) | Borderou de evaluare (job #39734) | Borderou de evaluare (job #297583) | Borderou de evaluare (job #1687878)
Borderou de evaluare (job #1687878)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d",&n,&k,&a,&b);
^
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:13:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.in","r",stdin);
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divk.out","w",stdout);
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&k,&a,&b);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 4ms | 408kb | OK | 10 |
4 | 16ms | 676kb | OK | 10 |
5 | 32ms | 1068kb | OK | 10 |
6 | 52ms | 2592kb | OK | 10 |
7 | 60ms | 1884kb | OK | 10 |
8 | 76ms | 2404kb | OK | 10 |
9 | 132ms | 3956kb | OK | 10 |
10 | 160ms | 4184kb | OK | 10 |
Punctaj total | 100 |