Borderou de evaluare (job #2917593)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 5 august 2022 21:07:35
Problema Asmin Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 2 | #import <algorithm> | ^~~~~~ main.cpp:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 3 | #import <vector> | ^~~~~~ main.cpp:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 4 | #import <set> | ^~~~~~ main.cpp:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 5 | #import <deque> | ^~~~~~ main.cpp:7:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 7 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:11:5: error: expected ',' or ';' before 'int' 11 | int n,k; | ^~~ main.cpp:12:10: error: 'n' was not declared in this scope 12 | cin>>n>>k; | ^ main.cpp:12:13: error: 'k' was not declared in this scope 12 | cin>>n>>k; | ^ Non zero exit status: 1

Ceva nu functioneaza?