Borderou de evaluare (job #2248491)

Utilizator UPB_Just_A_MomentUPB Dumitru Rada Streche UPB_Just_A_Moment Data 29 septembrie 2018 12:48:50
Problema Listare surse [Not a Task!] Status done
Runda Nationala ACM ICPC 2018 Compilator cpp
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:56:54: error: ‘memset’ was not declared in this scope memset(df, 0, 1500 * 3005 * 4 * sizeof(short)); ^ user.cpp:57:25: error: ‘n’ was not declared in this scope for (i = 1; i < n; ++i) { ^ user.cpp:73:15: error: ‘n’ was not declared in this scope if (v[n-1] == '(') { ^ user.cpp:78:18: error: ‘n’ was not declared in this scope for (i = n-1; i; --i) { ^ user.cpp:16:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%hd", &T); ^ user.cpp:18:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(v, 1501, fin); ^

Ceva nu functioneaza?