Pagini recente » Borderou de evaluare (job #2202709) | Borderou de evaluare (job #2223433) | Borderou de evaluare (job #2190286) | Borderou de evaluare (job #952583) | Borderou de evaluare (job #1700318)
Borderou de evaluare (job #1700318)
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:11:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N;i++)
^
user.cpp:14:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<N&&K>0)
^
user.cpp:25:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=N;i++)
^
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 | 280kb | OK! | 10 |
2 | 0ms | 280kb | OK! | 10 |
3 | 0ms | 280kb | OK! | 10 |
4 | 0ms | 296kb | OK! | 10 |
5 | 0ms | 312kb | OK! | 10 |
6 | 0ms | 372kb | OK! | 10 |
7 | 4ms | 440kb | OK! | 10 |
8 | 8ms | 664kb | OK! | 10 |
9 | 16ms | 1140kb | OK! | 10 |
10 | 24ms | 1572kb | Wrong answer! | 0 |
Punctaj total | 90 |