Borderou de evaluare (job #2939732)

Utilizator vreau_lotEmil Palade vreau_lot Data 14 noiembrie 2022 01:13:25
Problema S2c Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:47:34: error: stray '#' in program 47 | if (get(m, n, a, b) == true#include <fstream> | ^ main.cpp: In function 'int main()': main.cpp:47:11: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17' 47 | if (get(m, n, a, b) == true#include <fstream> | ^~~ main.cpp:47:34: error: expected ';' before 'include' 47 | if (get(m, n, a, b) == true#include <fstream> | ^~~~~~~~ | ; main.cpp:47:27: warning: value computed is not used [-Wunused-value] 47 | if (get(m, n, a, b) == true#include <fstream> | ~~~~~~~~~~~~~~~~^~~~~~~ main.cpp:53:23: error: expected ')' before ';' token 53 | const int MAX_N = 2000; | ^ | ) main.cpp:47:10: note: to match this '(' 47 | if (get(m, n, a, b) == true#include <fstream> | ^ main.cpp:54:18: error: 'MAX_N' was not declared in this scope 54 | pair<int, int> a[MAX_N + 1]; | ^~~~~ main.cpp:58:18: error: a function-definition is not allowed here before '{' token 58 | void normalize() { | ^ main.cpp:70:12: error: a function-definition is not allowed here before '{' token 70 | int main() { | ^ main.cpp:96:1: error: expected '}' at end of input 96 | } | ^ main.cpp:45:20: note: to match this '{' 45 | while (l <= r) { | ^ main.cpp:56:5: warning: unused variable 'n' [-Wunused-variable] 56 | int n; | ^ main.cpp:96:1: error: expected '}' at end of input 96 | } | ^ main.cpp:39:35: note: to match this '{' 39 | for (int tc = 1; tc <= t; tc++) { | ^ main.cpp:44:30: warning: unused variable 'sol' [-Wunused-variable] 44 | ll l = 1, r = (ll) 1e15, sol = 0; | ^~~ main.cpp:96:1: error: expected '}' at end of input 96 | } Non zero exit status: 1

Ceva nu functioneaza?