Pagini recente » Borderou de evaluare (job #39955) | Borderou de evaluare (job #2225990) | Borderou de evaluare (job #1128121) | Borderou de evaluare (job #1680148) | Borderou de evaluare (job #1316256)
Borderou de evaluare (job #1316256)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:11:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&k);
^
user.cpp:31:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",fr);
^
user.cpp:32:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",l);
^
user.cpp:33:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",MAX);
^
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("secventa.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("secventa.out","w",stdout);
^
user.cpp:10:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 4ms | 320kb | OK | 10 |
3 | 20ms | 528kb | OK | 10 |
4 | 24ms | 560kb | OK | 10 |
5 | 32ms | 656kb | OK | 10 |
6 | 36ms | 736kb | OK | 10 |
7 | 64ms | 1052kb | OK | 10 |
8 | 92ms | 1444kb | OK | 10 |
9 | Depăşit | 1820kb | Time limit exceeded. | 0 |
10 | Depăşit | 1692kb | Time limit exceeded. | 0 |
Punctaj total | 80 |