Borderou de evaluare (job #3032270)

Utilizator bent_larsenSturzu Antonio-Gabriel bent_larsen Data 21 martie 2023 20:58:36
Problema Placute Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: stray '#' in program 1 | .#include <bits/stdc++.h> | ^ main.cpp:1:1: error: expected unqualified-id before '.' token 1 | .#include <bits/stdc++.h> | ^ main.cpp:4:24: error: 'pair' was not declared in this scope 4 | long long solve(vector<pair<int,int>>& v) | ^~~~ main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:24: error: 'pair' was not declared in this scope main.cpp:4:17: error: 'vector' was not declared in this scope 4 | long long solve(vector<pair<int,int>>& v) | ^~~~~~ main.cpp:4:24: error: 'pair' was not declared in this scope 4 | long long solve(vector<pair<int,int>>& v) | ^~~~ main.cpp:4:29: error: expected primary-expression before 'int' 4 | long long solve(vector<pair<int,int>>& v) | ^~~ main.cpp:4:33: error: expected primary-expression before 'int' 4 | long long solve(vector<pair<int,int>>& v) | ^~~ main.cpp:4:41: error: expression list treated as compound expression in initializer [-fpermissive] 4 | long long solve(vector<pair<int,int>>& v) | ^ main.cpp: In function 'int main()': main.cpp:37:36: error: 'stdin' was not declared in this scope 37 | freopen("placute.in", "r", stdin); | ^~~~~ main.cpp:1:1: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? +++ |+#include <cstdio> 1 | .#include <bits/stdc++.h> main.cpp:37:9: error: 'freopen' was not declared in this scope 37 | freopen("placute.in", "r", stdin); | ^~~~~~~ main.cpp:38:37: error: 'stdout' was not declared in this scope 38 | freopen("placute.out", "w", stdout); | ^~~~~~ main.cpp:38:37: note: 'stdout' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'? main.cpp:40:9: error: 'cin' was not declared in this scope 40 | cin >> n >> k; | ^~~ main.cpp:41:16: error: 'pair' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?