Pagini recente » Borderou de evaluare (job #2132603) | Borderou de evaluare (job #2095960) | Borderou de evaluare (job #690292) | Borderou de evaluare (job #2723179) | Borderou de evaluare (job #1841086)
Borderou de evaluare (job #1841086)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:40:15: warning: unused variable ‘nr’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:40:19: warning: unused variable ‘st’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:40:23: warning: unused variable ‘dr’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:40:27: warning: unused variable ‘s’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:40:34: warning: unused variable ‘h’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:40:37: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp: In function ‘void readFile()’:
user.cpp:142:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &t);
^
user.cpp:147:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &n);
^
user.cpp:149:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 200001, f);
^
user.cpp:167:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &m);
^
user.cpp:169:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 200001, f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1300kb | Time limit exceeded. | 0 |
Punctaj total | 0 |