Borderou de evaluare (job #2461051)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 24 septembrie 2019 20:42:31
Problema Aliniate Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:64:1: error: 'unordered_map' does not name a type unordered_map<ui,data_t> stuff[LGMAX + 1]; ^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:73:13: error: 'stuff' was not declared in this scope stuff[h].clear(); ^~~~~ main.cpp:81:16: error: 'stuff' was not declared in this scope if(stuff[trail(y - x + 1)].count(x)) { ^~~~~ main.cpp:86:13: error: 'stuff' was not declared in this scope stuff[trail(y - x + 1)][x] = data_t(z); ^~~~~ main.cpp:90:25: error: 'stuff' was not declared in this scope for(auto it:stuff[h]) { ^~~~~ main.cpp:68:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ main.cpp:76:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ main.cpp:80:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%u %u %u",&x,&y,&z); ^ Non zero exit status: 1

Ceva nu functioneaza?