Pagini recente » Borderou de evaluare (job #16375) | Borderou de evaluare (job #1219438) | Borderou de evaluare (job #1486683) | Borderou de evaluare (job #2874736) | Borderou de evaluare (job #1677718)
Borderou de evaluare (job #1677718)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",i);
^
user.cpp:19:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",dif+nrcif);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",i);
^
user.cpp:4:17: warning: unused variable ‘m’ [-Wunused-variable]
long long n,m,i,j,nr,k,nrcif,dif,aux,poz;
^
user.cpp:4:21: warning: unused variable ‘j’ [-Wunused-variable]
long long n,m,i,j,nr,k,nrcif,dif,aux,poz;
^
user.cpp:4:38: warning: unused variable ‘aux’ [-Wunused-variable]
long long n,m,i,j,nr,k,nrcif,dif,aux,poz;
^
user.cpp:4:42: warning: unused variable ‘poz’ [-Wunused-variable]
long long n,m,i,j,nr,k,nrcif,dif,aux,poz;
^
user.cpp:5:37: 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:6:39: 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:7:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK! | 10 |
2 | 0ms | 272kb | OK! | 10 |
3 | 0ms | 272kb | OK! | 10 |
4 | 0ms | 268kb | OK! | 10 |
5 | 0ms | 268kb | OK! | 10 |
6 | 0ms | 272kb | OK! | 10 |
7 | 4ms | 268kb | OK! | 10 |
8 | 8ms | 264kb | OK! | 10 |
9 | 12ms | 272kb | OK! | 10 |
10 | 20ms | 268kb | OK! | 10 |
Punctaj total | 100 |