Pagini recente » Borderou de evaluare (job #1725150) | Borderou de evaluare (job #2900034) | Borderou de evaluare (job #2871479) | Borderou de evaluare (job #1684659) | Borderou de evaluare (job #3242770)
Borderou de evaluare (job #3242770)
Raport evaluator
Compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import<bits/stdc++.h>
| ^~~~~~
main.cpp:3:203: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
3 | using namespace std;ofstream g("dir.out");set<s>r;s v;int i;void a(s p){if(v[i]==40)++i,p+=92;while(v[i]-41&&v[i]){s w;while(v[i]>47)w+=v[i++];if(w[0]>96)r.insert(p+w);else a(p+w);if(v[i]==44)++i;}++i;}main(){ifstream("dir.in")>>v;s p;a(p);g<<r.size()<<'\n';for(auto&i:r)g<<i<<'\n';}
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 100 |