Borderou de evaluare (job #3274305)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 6 februarie 2025 08:33:41
Problema Gcdseq Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 18 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:20:29: error: 'stdio' was not declared in this scope; did you mean 'stdin'? 20 | freopen("gcdseq.in","r",stdio); | ^~~~~ | stdin main.cpp:23:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'? 23 | cin.tie(nullptr); | ^~~ | std::cin In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:75, from main.cpp:1: /usr/include/c++/12.2.1/iostream:60:18: note: 'std::cin' declared here 60 | extern istream cin; /// Linked to standard input | ^~~ Non zero exit status: 1

Ceva nu functioneaza?