Pagini recente » Borderou de evaluare (job #461580) | Borderou de evaluare (job #833945) | Borderou de evaluare (job #2185546) | Borderou de evaluare (job #2794626) | Borderou de evaluare (job #2673736)
Borderou de evaluare (job #2673736)
Raport evaluator
Compilare:
main.cpp: In function 'long long unsigned int euler(int)':
main.cpp:15:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=3; i*i<=n; i+=2)
~~~^~~
main.cpp:6:26: warning: unused variable 'a' [-Wunused-variable]
unsigned long long p,a,copie,i;
^
main.cpp:6:28: warning: variable 'copie' set but not used [-Wunused-but-set-variable]
unsigned long long p,a,copie,i;
^~~~~
main.cpp: In function 'int main()':
main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fractii.in","r",stdin);
^
main.cpp:35:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fractii.out","w",stdout);
^
main.cpp:38:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 114ms | 131kb | Ok! | 10 |
2 | 2ms | 131kb | Ok! | 10 |
3 | 8ms | 131kb | Ok! | 10 |
4 | 13ms | 131kb | Ok! | 10 |
5 | 108ms | 192kb | Ok! | 10 |
6 | 148ms | 262kb | Ok! | 10 |
7 | 355ms | 131kb | Ok! | 10 |
8 | 452ms | 131kb | Time limit exceeded | 0 |
9 | 452ms | 131kb | Time limit exceeded | 0 |
10 | 451ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 70 |