Pagini recente » Borderou de evaluare (job #1837654) | Borderou de evaluare (job #1317013) | Borderou de evaluare (job #394805) | Borderou de evaluare (job #1953074) | Borderou de evaluare (job #1841094)
Borderou de evaluare (job #1841094)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:56:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:56:15: warning: unused variable ‘nr’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:56:19: warning: unused variable ‘st’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:56:23: warning: unused variable ‘dr’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:56:27: warning: unused variable ‘s’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:56:34: warning: unused variable ‘h’ [-Wunused-variable]
int i, j, nr, st, dr, s = 0, h, x;
^
user.cpp:56: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:158: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:163: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:165: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:185: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:187: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 | 872kb | Time limit exceeded. | 0 |
Punctaj total | 0 |