Pagini recente » Borderou de evaluare (job #1639481) | Borderou de evaluare (job #647550) | Borderou de evaluare (job #2458300) | Borderou de evaluare (job #1396314) | Borderou de evaluare (job #1336368)
Borderou de evaluare (job #1336368)
Raport evaluator
Compilare:
user.cpp: In function ‘void sol(int)’:
user.cpp:26:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<sizeof(P)&&1LL*P[i]*P[i]<=n&&P[i]!=0;i++){
^
user.cpp: In function ‘void solve(long long unsigned int)’:
user.cpp:54:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (d+n/d<SumMin){
^
user.cpp: In function ‘int main()’:
user.cpp:69:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cmmmc.in", "r", stdin);
^
user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cmmmc.out", "w", stdout);
^
user.cpp:74:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:76:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
user.cpp: In function ‘int cmmmdc(int, int)’:
user.cpp:13:8: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return r;}
^
user.cpp: In function ‘void solve(long long unsigned int)’:
user.cpp:52:22: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (p/cmmmdc(d,n/d)==n){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | Killed by signal 8(SIGFPE). | 0 |
2 | 0ms | 312kb | Killed by signal 8(SIGFPE). | 0 |
3 | 0ms | 312kb | OK! | 10 |
4 | Depăşit | 316kb | Time limit exceeded. | 0 |
5 | Depăşit | 308kb | Time limit exceeded. | 0 |
6 | 0ms | 308kb | Killed by signal 8(SIGFPE). | 0 |
7 | 0ms | 312kb | Killed by signal 8(SIGFPE). | 0 |
8 | 0ms | 312kb | OK! | 10 |
9 | 12ms | 308kb | OK! | 10 |
10 | 12ms | 312kb | OK! | 10 |
Punctaj total | 40 |