Borderou de evaluare (job #2275858)
| Utilizator | Data | 3 noiembrie 2018 18:04:14 | |
|---|---|---|---|
| Problema | Fenrir | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import<fstream>
^~~~~~
main.cpp:2:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){std::ofstream o("fenrir.out");o<<99;for(int i=188;i>89;i--)o<<"\n"<<i/9<<" "<<i%9+1);}
^
main.cpp: In function 'int main()':
main.cpp:2:91: error: expected ';' before ')' token
main(){std::ofstream o("fenrir.out");o<<99;for(int i=188;i>89;i--)o<<"\n"<<i/9<<" "<<i%9+1);}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
