Borderou de evaluare (job #2708532)
Utilizator | Data | 18 februarie 2021 20:42:29 | |
---|---|---|---|
Problema | Kami | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^~~~~~~
main.cpp:3:1: error: 'ifstream' does not name a type
ifstream fin("kami.in");
^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
ofstream fout("kami.out");
^~~~~~~~
main.cpp: In function 'void solve(int)':
main.cpp:12:48: error: 'min' was not declared in this scope
for( int i = min( StPos_Bucket[x] + K - 1, N ); i >= StPos_Bucket[x]; i-- ){
^
main.cpp:13:50: error: 'max' was not declared in this scope
Dp_Bucket[x] = max( Dp_Bucket[x], V[i] - Sum );
^
main.cpp: In function 'int main()':
main.cpp:19:3: error: 'fin' was not declared in this scope
fin >> N;
^~~
main.cpp:22:20: error: 'sqrt' was not declared in this scope
K = (int)sqrt( N );
^
main.cpp:44:9: error: 'fout' was not declared in this scope
fout << i << "\n";
^~~~
main.cpp:56:7: error: 'fout' was not declared in this scope
fout << "0\n";
^~~~
main.cpp:61:9: error: 'fout' was not declared in this scope
fout << i << "\n";
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !