Pagini recente » Borderou de evaluare (job #3264773) | Borderou de evaluare (job #528588) | Borderou de evaluare (job #1114397) | Borderou de evaluare (job #2826737) | Borderou de evaluare (job #2228583)
Borderou de evaluare (job #2228583)
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;i<n;)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;i<n;)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 | 1376kb | OK | 10 |
2 | 0ms | 1376kb | OK | 10 |
3 | 0ms | 1404kb | OK | 10 |
4 | 12ms | 3572kb | OK | 10 |
5 | 12ms | 3576kb | OK | 10 |
6 | 16ms | 3572kb | OK | 10 |
7 | 16ms | 3572kb | OK | 10 |
8 | 24ms | 3576kb | OK | 10 |
9 | 24ms | 3576kb | OK | 10 |
10 | 28ms | 3576kb | OK | 10 |
Punctaj total | 100 |