Borderou de evaluare (job #2530458)

Utilizator gruhtenZinnenberg Gruhten gruhten Data 24 ianuarie 2020 20:20:09
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void cit(int&)': main.cpp:27:21: error: unable to find character literal operator 'operator""and' with 'char' argument while(buf[pos]>='0'and buf[pos]<='9') ^~~~~~ main.cpp:27:28: error: expected ')' before 'buf' while(buf[pos]>='0'and buf[pos]<='9') ^~~ main.cpp:27:41: error: expected ';' before ')' token while(buf[pos]>='0'and buf[pos]<='9') ^ main.cpp:27:36: warning: statement has no effect [-Wunused-value] while(buf[pos]>='0'and buf[pos]<='9') ~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:61:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<vecin[m].size();j++) ~^~~~~~~~~~~~~~~~ main.cpp:40:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.out","w",stdout); ^ main.cpp: In function 'void cit(int&)': main.cpp:25:41: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buf,1,Lim,stdin),pos=0; ^ Non zero exit status: 1

Ceva nu functioneaza?