Pagini recente » Borderou de evaluare (job #2635617) | Borderou de evaluare (job #1131485) | Borderou de evaluare (job #1410849) | Borderou de evaluare (job #2846276) | Borderou de evaluare (job #2646481)
Borderou de evaluare (job #2646481)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:84:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
main.cpp:81:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.in","r",stdin);
^
main.cpp:82:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.out","w",stdout);
^
main.cpp:84:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:89:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli%lli",&a,&b);
^
main.cpp: In function 'void eratostene()':
main.cpp:20:19: warning: iteration 1000001 invokes undefined behavior [-Waggressive-loop-optimizations]
if(!ciur[i]){
~~~~~~^
main.cpp:19:14: note: within this loop
for(i=2;i<=NMAX;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 20ms | 1441kb | OK | 10 | 10 |
2 | 19ms | 1441kb | OK | 10 | 10 |
3 | 18ms | 1441kb | OK | 10 | 10 |
4 | 40ms | 1441kb | OK | 10 | 10 |
5 | 43ms | 1441kb | OK | 10 | 10 |
6 | 58ms | 1441kb | OK | 10 | 10 |
7 | 46ms | 1441kb | OK | 10 | 10 |
8 | 1307ms | 1441kb | OK | 10 | 30 |
9 | 1329ms | 1572kb | OK | 10 |
10 | 1294ms | 1441kb | OK | 10 |
Punctaj total | 100 |