Pagini recente » Borderou de evaluare (job #1598699) | Borderou de evaluare (job #1139945) | Borderou de evaluare (job #1925986) | Borderou de evaluare (job #1922493) | Borderou de evaluare (job #2007847)
Borderou de evaluare (job #2007847)
Raport evaluator
Compilare:
user.cpp: In function ‘lint getRez(int)’:
user.cpp:103:25: warning: unused variable ‘mx’ [-Wunused-variable]
int i, ones, zeros, mx;
^
user.cpp:104:10: warning: unused variable ‘cost’ [-Wunused-variable]
lint cost;
^
user.cpp: In function ‘void readFile()’:
user.cpp:52:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d\n", &n, &l);
^
user.cpp:57:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 1009, f);
^
user.cpp:69:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%lld", &costBit[i]);//, printf("%lld ", costBit[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Cool! | 10 |
2 | 0ms | 288kb | Cool! | 10 |
3 | 0ms | 288kb | Cool! | 10 |
4 | 16ms | 296kb | Cool! | 10 |
5 | 0ms | 316kb | Cool! | 10 |
6 | 0ms | 356kb | Cool! | 10 |
7 | 0ms | 412kb | Cool! | 10 |
8 | 0ms | 416kb | Cool! | 10 |
9 | 4ms | 544kb | Cool! | 10 |
10 | 4ms | 544kb | Cool! | 10 |
Punctaj total | 100 |