Borderou de evaluare (job #3033014)

Utilizator rastervcrastervc rastervc Data 23 martie 2023 11:09:33
Problema Mayonaka Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:29: error: stray '#' in program 18 | const int sq = sqrt(N);a#include <bits/stdc++.h> | ^ main.cpp: In function 'int main()': main.cpp:18:28: error: 'a' was not declared in this scope 18 | const int sq = sqrt(N);a#include <bits/stdc++.h> | ^ main.cpp:24:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 24 | int main() | ^~ main.cpp:24:9: note: remove parentheses to default-initialize a variable 24 | int main() | ^~ | -- main.cpp:24:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:25:1: error: a function-definition is not allowed here before '{' token 25 | { | ^ main.cpp:23:5: warning: unused variable 'smen' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^~~~ main.cpp:23:23: warning: unused variable 'sol' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^~~ main.cpp:23:35: warning: unused variable 'r' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^ main.cpp:23:45: warning: unused variable 'n' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^ main.cpp:23:47: warning: unused variable 'M' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^ main.cpp:23:49: warning: unused variable 'x' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^ main.cpp:23:51: warning: unused variable 'y' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^ main.cpp:23:53: warning: unused variable 'salt' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^~~~ main.cpp:23:58: warning: unused variable 'g' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^ main.cpp:23:60: warning: unused variable 'radn' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; | ^~~~ main.cpp:23:65: warning: unused variable 'l' [-Wunused-variable] 23 | int smen[320][100100],sol[100100],r[100100],n,M,x,y,salt,g,radn,l; Non zero exit status: 1

Ceva nu functioneaza?