Pagini recente » Borderou de evaluare (job #1887826) | Borderou de evaluare (job #3283847) | Borderou de evaluare (job #2385059) | Borderou de evaluare (job #2970742) | Borderou de evaluare (job #2630821)
Borderou de evaluare (job #2630821)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<bits/stdc++.h>
^~~~~~
main.cpp:2:73: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
std::ifstream I("crescator3.in");std::ofstream O("crescator3.out");main(){int n,x,y,s=1,t;I>>n>>x;while(I>>y){while(x<y){t=x;while(t)x+=t%10,t/=10;}if(x==y)s++;}O<<s;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 11ms | 200kb | OK | 10 |
5 | 31ms | 131kb | OK | 10 |
6 | 31ms | 131kb | OK | 10 |
7 | 34ms | 131kb | OK | 10 |
8 | 33ms | 131kb | OK | 10 |
9 | 34ms | 131kb | OK | 10 |
10 | 32ms | 131kb | OK | 10 |
Punctaj total | 100 |