Borderou de evaluare (job #2963093)

Utilizator hungntnktpHungntnktp hungntnktp Data 10 ianuarie 2023 03:56:40
Problema Dream Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'long long int con(long long int)': main.cpp:20:9: warning: unused variable 'c' [-Wunused-variable] 20 | int c=0; | ^ main.cpp: In function 'long long int modu(std::vector<long long int>&)': main.cpp:32:9: warning: unused variable 'm' [-Wunused-variable] 32 | int m=v.size(); | ^ main.cpp: At global scope: main.cpp:132:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 132 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:160:13: warning: unused variable 'st' [-Wunused-variable] 160 | int st=0; | ^~ main.cpp:3:23: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3 | #define forinc(i,a,b) for(int i=a;i<=b;i++) | ^~~ main.cpp:183:9: note: in expansion of macro 'forinc' 183 | forinc(i,1,x-2) v.push_back(0);v.push_back(1); | ^~~~~~ main.cpp:183:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 183 | forinc(i,1,x-2) v.push_back(0);v.push_back(1); | ^ main.cpp:179:13: warning: unused variable 'st' [-Wunused-variable] 179 | int st=0; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK515
20ms184kbOK5
30ms184kbOK5
40ms184kbOK520
50ms184kbOK5
60ms184kbOK5
70ms184kbOK5
80ms184kbOK535
90ms184kbOK5
100ms184kbOK5
110ms184kbOK5
120ms184kbOK5
130ms184kbOK5
140ms184kbOK5
150ms184kbOK530
160ms184kbOK5
175ms1232kbOK5
185ms2146kbOK5
199ms2146kbOK5
2011ms2146kbOK5
Punctaj total100

Ceva nu functioneaza?