Pagini recente » Borderou de evaluare (job #1020211) | Borderou de evaluare (job #549505) | Borderou de evaluare (job #1768557) | Borderou de evaluare (job #811980) | Borderou de evaluare (job #2750069)
Borderou de evaluare (job #2750069)
Raport evaluator
Compilare:
main.cpp:2:31: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
int t,n,x,y,z;char s[12];main(){std::ifstream f{"pufu.in"};std::ofstream g{"pufu.out"};for(f>>t;t--;g<<x<<' '<<y<<' '<<z<<'\n')for(f>>n,x=y=z=0;n--;f>>s,x+=s[2]=='o',y+=s[2]=='s',z+=s[2]=='r');}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 100 |
| Punctaj total | 100 |