Pagini recente » Borderou de evaluare (job #1734093) | Borderou de evaluare (job #1240498) | Borderou de evaluare (job #764708) | Borderou de evaluare (job #11718) | Borderou de evaluare (job #2859826)
Borderou de evaluare (job #2859826)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:65:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
65 | fprintf(out,"%d %d\n",ans,sum);
| ~^ ~~~
| | |
| int long long int
| %lld
main.cpp:65:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
65 | fprintf(out,"%d %d\n",ans,sum);
| ~^ ~~~
| | |
| int long long int
| %lld
main.cpp: In function 'int main()':
main.cpp:70:16: warning: unused variable 's' [-Wunused-variable]
70 | static int s=1,cnt=1;
| ^
main.cpp:70:20: warning: unused variable 'cnt' [-Wunused-variable]
70 | static int s=1,cnt=1;
| ^~~
main.cpp: At global scope:
main.cpp:70:20: warning: 'cnt' defined but not used [-Wunused-variable]
main.cpp:70:16: warning: 's' defined but not used [-Wunused-variable]
70 | static int s=1,cnt=1;
| ^
main.cpp: In function 'void ciur()':
main.cpp:19:15: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
19 | if(c[i]==0)
| ~~~^
main.cpp:17:18: note: within this loop
17 | for(int i=2;i<=nmax;i++)
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 2981kb | Incorect | 0 | 0 |
2 | 16ms | 2965kb | Incorect | 0 | 0 |
3 | 16ms | 2965kb | Incorect | 0 | 0 |
4 | 16ms | 2973kb | Incorect | 0 | 0 |
5 | 15ms | 2961kb | Incorect | 0 | 0 |
6 | 16ms | 2961kb | Incorect | 0 | 0 |
7 | 16ms | 2961kb | Incorect | 0 | 0 |
8 | 20ms | 3117kb | Incorect | 0 | 0 |
9 | 20ms | 3133kb | Incorect | 0 |
10 | 20ms | 3117kb | Incorect | 0 |
Punctaj total | 0 |