Pagini recente » Borderou de evaluare (job #3129946) | Borderou de evaluare (job #905562) | Borderou de evaluare (job #2659027) | Borderou de evaluare (job #2333459) | Borderou de evaluare (job #1700325)
Borderou de evaluare (job #1700325)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d",&N,&K);
^
user.cpp:10:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:27:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d ",v[i]);
^
user.cpp:29:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d ",aux[i]);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 10 |
2 | 0ms | 268kb | OK! | 10 |
3 | 0ms | 272kb | OK! | 10 |
4 | 0ms | 292kb | OK! | 10 |
5 | 0ms | 304kb | OK! | 10 |
6 | 0ms | 360kb | OK! | 10 |
7 | 4ms | 432kb | OK! | 10 |
8 | 8ms | 660kb | OK! | 10 |
9 | 16ms | 1136kb | OK! | 10 |
10 | 24ms | 1568kb | Wrong answer! | 0 |
Punctaj total | 90 |