Borderou de evaluare (job #2628307)

Utilizator alex_benescubenescu alexandru alex_benescu Data 15 iunie 2020 14:58:12
Problema Flori 4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] #import<fstream> ^~~~~~ main.cpp:2:65: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] std::ifstream u("flori4.in");std::ofstream t("flori4.out");main(){int i=3,a=2,b=4,e,n;u>>n;for(;i<n;i++)e=b,b=(a+1+b)%9001,a=e;t<<b;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?