Borderou de evaluare (job #2803353)

Utilizator CristianPPlesnicute Cristian Ionut CristianP Data 19 noiembrie 2021 21:12:04
Problema Dreptunghi2 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: invalid preprocessing directive #iostream 1 | #iostream <bits/stdc++.h> | ^~~~~~~~ main.cpp:5:1: error: 'ifstream' does not name a type 5 | ifstream fin("dreptunghi2.in"); | ^~~~~~~~ main.cpp:6:1: error: 'ofstream' does not name a type 6 | ofstream fout("dreptunghi2.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:12:5: error: 'fin' was not declared in this scope 12 | fin >> t; | ^~~ main.cpp:19:17: error: 'abs' was not declared in this scope 19 | x = abs(a + b) / sqrt(2); | ^~~ main.cpp:19:30: error: 'sqrt' was not declared in this scope 19 | x = abs(a + b) / sqrt(2); | ^~~~ main.cpp:30:17: error: 'abs' was not declared in this scope 30 | dist1 = abs(drx - stx); | ^~~ main.cpp:32:9: error: 'fout' was not declared in this scope 32 | fout << fixed << setprecision(3) << dist1 * dist2 << '\n'; | ^~~~ main.cpp:32:17: error: 'fixed' was not declared in this scope 32 | fout << fixed << setprecision(3) << dist1 * dist2 << '\n'; | ^~~~~ main.cpp:32:26: error: 'setprecision' was not declared in this scope 32 | fout << fixed << setprecision(3) << dist1 * dist2 << '\n'; | ^~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?