Pagini recente » Borderou de evaluare (job #3177102) | Borderou de evaluare (job #2418035) | Borderou de evaluare (job #523920) | Borderou de evaluare (job #1568703) | Borderou de evaluare (job #2228577)
Borderou de evaluare (job #2228577)
Raport evaluator
Compilare:
user.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<fstream>
^~~~~~
user.cpp:2:22: warning: multi-character character constant [-Wmultichar]
int n,i=1,j,r;char p['썐'];main(){for(std::ifstream("ciur.in")>>n;n/++i;)if(!p[j=i])for(++r;n>=(j+=i);p[j]=1);std::ofstream("ciur.out")<<r;}
^~~~~
user.cpp:2:34: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
int n,i=1,j,r;char p['썐'];main(){for(std::ifstream("ciur.in")>>n;n/++i;)if(!p[j=i])for(++r;n>=(j+=i);p[j]=1);std::ofstream("ciur.out")<<r;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1380kb | OK | 10 |
2 | 0ms | 1376kb | OK | 10 |
3 | 0ms | 1408kb | OK | 10 |
4 | 24ms | 3576kb | OK | 10 |
5 | 24ms | 3576kb | OK | 10 |
6 | 32ms | 3576kb | OK | 10 |
7 | 36ms | 3576kb | OK | 10 |
8 | 44ms | 3576kb | OK | 10 |
9 | 48ms | 3576kb | OK | 10 |
10 | 52ms | 3572kb | OK | 10 |
Punctaj total | 100 |