Pagini recente » Borderou de evaluare (job #1540999) | Borderou de evaluare (job #1182404) | Borderou de evaluare (job #2728452) | Borderou de evaluare (job #2482565) | Borderou de evaluare (job #1336292)
Borderou de evaluare (job #1336292)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(long long unsigned int)’:
user.cpp:40:20: warning: overflow in implicit constant conversion [-Woverflow]
int SumMin=10000000000;
^
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:76:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf ("%d", &x);
^
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 | 308kb | Killed by signal 8(SIGFPE). | 0 |
2 | 0ms | 312kb | Killed by signal 8(SIGFPE). | 0 |
3 | 0ms | 316kb | OK! | 10 |
4 | Depăşit | 312kb | Time limit exceeded. | 0 |
5 | Depăşit | 316kb | Time limit exceeded. | 0 |
6 | 0ms | 312kb | Killed by signal 8(SIGFPE). | 0 |
7 | 0ms | 316kb | Killed by signal 8(SIGFPE). | 0 |
8 | 4ms | 308kb | OK! | 10 |
9 | 12ms | 312kb | OK! | 10 |
10 | 12ms | 308kb | OK! | 10 |
Punctaj total | 40 |