Pagini recente » Borderou de evaluare (job #605695) | Borderou de evaluare (job #610289) | Borderou de evaluare (job #1116259) | Borderou de evaluare (job #1960885) | Borderou de evaluare (job #2646480)
Borderou de evaluare (job #2646480)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:85:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
main.cpp:82: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:83: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:85:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:90: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 999998 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 | 18ms | 1441kb | Killed by Signal 8 | 0 | 0 |
2 | 17ms | 1441kb | Killed by Signal 8 | 0 | 0 |
3 | 14ms | 1441kb | Killed by Signal 8 | 0 | 0 |
4 | 19ms | 1441kb | Killed by Signal 8 | 0 | 0 |
5 | 20ms | 1441kb | Killed by Signal 8 | 0 | 0 |
6 | 19ms | 1441kb | Killed by Signal 8 | 0 | 0 |
7 | 15ms | 1441kb | Killed by Signal 8 | 0 | 0 |
8 | 19ms | 1441kb | Killed by Signal 8 | 0 | 0 |
9 | 19ms | 1441kb | Killed by Signal 8 | 0 |
10 | 19ms | 1441kb | Killed by Signal 8 | 0 |
Punctaj total | 0 |