Borderou de evaluare (job #2939572)

Utilizator AztecaVlad Tutunaru 2 Azteca Data 13 noiembrie 2022 21:55:50
Problema Zoro Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:49:15: error: stray '#' in program 49 | int x;#include <fstream> | ^ main.cpp: In function 'int main()': main.cpp:49:16: error: 'include' was not declared in this scope 49 | int x;#include <fstream> | ^~~~~~~ main.cpp:49:32: error: expected primary-expression before '>' token 49 | int x;#include <fstream> | ^ main.cpp:51:1: error: expected primary-expression before 'using' 51 | using namespace std; | ^~~~~ main.cpp:57:12: error: a function-definition is not allowed here before '{' token 57 | int main() { | ^ main.cpp:85:1: error: expected '}' at end of input 85 | } | ^ main.cpp:48:19: note: to match this '{' 48 | while ( q-- ) { | ^ main.cpp:49:13: warning: unused variable 'x' [-Wunused-variable] 49 | int x;#include <fstream> | ^ main.cpp:54:5: warning: unused variable 'dp' [-Wunused-variable] 54 | int dp[MAX_N + 1][MAX_N + 1], lin[MAX_N * MAX_N + 1], col[MAX_N * MAX_N + 1], bestl[MAX_N + 1], bestc[MAX_N + 1]; | ^~ main.cpp:54:31: warning: unused variable 'lin' [-Wunused-variable] 54 | int dp[MAX_N + 1][MAX_N + 1], lin[MAX_N * MAX_N + 1], col[MAX_N * MAX_N + 1], bestl[MAX_N + 1], bestc[MAX_N + 1]; | ^~~ main.cpp:54:55: warning: unused variable 'col' [-Wunused-variable] 54 | int dp[MAX_N + 1][MAX_N + 1], lin[MAX_N * MAX_N + 1], col[MAX_N * MAX_N + 1], bestl[MAX_N + 1], bestc[MAX_N + 1]; | ^~~ main.cpp:54:79: warning: unused variable 'bestl' [-Wunused-variable] 54 | int dp[MAX_N + 1][MAX_N + 1], lin[MAX_N * MAX_N + 1], col[MAX_N * MAX_N + 1], bestl[MAX_N + 1], bestc[MAX_N + 1]; | ^~~~~ main.cpp:54:97: warning: unused variable 'bestc' [-Wunused-variable] 54 | int dp[MAX_N + 1][MAX_N + 1], lin[MAX_N * MAX_N + 1], col[MAX_N * MAX_N + 1], bestl[MAX_N + 1], bestc[MAX_N + 1]; | ^~~~~ main.cpp:55:5: warning: unused variable 'n' [-Wunused-variable] 55 | int n, m; | ^ main.cpp:55:8: warning: unused variable 'm' [-Wunused-variable] 55 | int n, m; | ^ main.cpp:85:1: error: expected '}' at end of input 85 | } | ^ main.cpp:27:12: note: to match this '{' Non zero exit status: 1

Ceva nu functioneaza?