Pagini recente » Cod sursa (job #1454530) | Borderou de evaluare (job #1189578) | Borderou de evaluare (job #1510477) | Borderou de evaluare (job #2981055) | Borderou de evaluare (job #1841084)
Borderou de evaluare (job #1841084)
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: In function ‘void readFile()’:
user.cpp:136: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:141: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:143: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:161: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:163: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 | 1124kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |