Pagini recente » Borderou de evaluare (job #2846928) | Borderou de evaluare (job #386322) | Borderou de evaluare (job #284169) | Borderou de evaluare (job #1807012) | Borderou de evaluare (job #1576516)
Borderou de evaluare (job #1576516)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:14: warning: statement has no effect [-Wunused-value]
for(d;d*d<=x;d+=2){
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp1.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp1.out","w",stdout);
^
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n",&m, &n);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&x);
^
user.cpp:39:19: warning: iteration 29999u invokes undefined behavior [-Waggressive-loop-optimizations]
if(a[i])
^
user.cpp:38:9: note: containing loop
for(int i=2;i<=30003;i++){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 200kb | Time limit exceeded. | 0 |
2 | Depăşit | 196kb | Time limit exceeded. | 0 |
3 | Depăşit | 200kb | Time limit exceeded. | 0 |
4 | Depăşit | 196kb | Time limit exceeded. | 0 |
5 | Depăşit | 200kb | Time limit exceeded. | 0 |
6 | Depăşit | 196kb | Time limit exceeded. | 0 |
7 | Depăşit | 200kb | Time limit exceeded. | 0 |
8 | Depăşit | 196kb | Time limit exceeded. | 0 |
9 | Depăşit | 204kb | Time limit exceeded. | 0 |
10 | Depăşit | 200kb | Time limit exceeded. | 0 |
Punctaj total | 0 |