Pagini recente » Borderou de evaluare (job #1429184) | Borderou de evaluare (job #3156636) | Borderou de evaluare (job #1873938) | Borderou de evaluare (job #3188743) | Borderou de evaluare (job #2112717)
Borderou de evaluare (job #2112717)
Raport evaluator
Compilare:
user.cpp:2:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){long a,b,t=0,i=1;std::ifstream c("ndiv.in");std::ofstream d("ndiv.out");c>>a>>b;for(;i*i<a;++i)t-=2*((a-1)/i-i)+1;for(i=1;i*i<=b;i++)t+=2*(b/i-i)+1;d<<t;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 416kb | OK | 10 |
| 2 | Depăşit | 380kb | Time limit exceeded. | 0 |
| 3 | 0ms | 412kb | OK | 10 |
| 4 | 0ms | 412kb | Incorect | 0 |
| 5 | 0ms | 416kb | OK | 10 |
| 6 | 0ms | 416kb | OK | 10 |
| 7 | 0ms | 416kb | Incorect | 0 |
| 8 | 0ms | 412kb | Incorect | 0 |
| 9 | 0ms | 416kb | Incorect | 0 |
| 10 | 0ms | 412kb | Incorect | 0 |
| Punctaj total | 40 |