Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2875692)
| Utilizator | Data | 22 martie 2022 10:15:05 | |
|---|---|---|---|
| Problema | Numar de Divizori | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<fstream>
| ^~~~~~
main.cpp:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
2 | #import <iostream>
| ^~~~~~
main.cpp:3:19: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
3 | int64_t r,a,b,i=1;main(){(std::ifstream("ndiv.in"))>>a>>b;a--;while(i*i<=b){r+=1+2*(b/i-i);i++;}i=1;(std::ofstream("ndiv.out"))<<r;while(i*i<=a){r-=1+2*(a/i-i);i++;}(std::ofstream("ndiv.out"))<<r;}
| ^~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 2ms | 184kb | OK | 10 |
| 5 | 2ms | 184kb | OK | 10 |
| 6 | 2ms | 184kb | OK | 10 |
| 7 | 2ms | 184kb | OK | 10 |
| 8 | 2ms | 184kb | OK | 10 |
| 9 | 2ms | 184kb | OK | 10 |
| 10 | 2ms | 184kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
