Pagini recente » Borderou de evaluare (job #2987218) | Borderou de evaluare (job #310243) | Borderou de evaluare (job #1406653) | Borderou de evaluare (job #2539718) | Borderou de evaluare (job #2504727)
Borderou de evaluare (job #2504727)
Raport evaluator
Compilare:
main.cpp: In function 'int main(int, const char**)':
main.cpp:27:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pairs.in","r",stdin);
^
main.cpp:28:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pairs.out","w",stdout);
^
main.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:36:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp: In function 'void ciur()':
main.cpp:17:24: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
if(!cateprime[i])
~~~~~~~~~~~^
main.cpp:16:18: note: within this loop
for(int i=2;i<=nmax;i++)
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 115ms | 5111kb | OK | 10 | 20 |
2 | 156ms | 6160kb | OK | 10 |
3 | 120ms | 5242kb | OK | 10 | 20 |
4 | 185ms | 6144kb | OK | 10 |
5 | 114ms | 5111kb | OK | 10 | 20 |
6 | 178ms | 6160kb | OK | 10 |
7 | 156ms | 5636kb | OK | 10 | 10 |
8 | 203ms | 6291kb | OK | 10 | 10 |
9 | 205ms | 6160kb | OK | 10 | 10 |
10 | 192ms | 5603kb | OK | 10 | 10 |
Punctaj total | 100 |