Pagini recente » Borderou de evaluare (job #465529) | Borderou de evaluare (job #2607369) | Borderou de evaluare (job #1267868) | Borderou de evaluare (job #345820) | Borderou de evaluare (job #1346272)
Borderou de evaluare (job #1346272)
Raport evaluator
Compilare:
user.cpp: In function ‘int profit(int, client*, int, int)’:
user.cpp:60:15: warning: unused variable ‘T’ [-Wunused-variable]
int best, i, T, max = -1, nr = 1, castig;
^
user.cpp:60:28: warning: unused variable ‘nr’ [-Wunused-variable]
int best, i, T, max = -1, nr = 1, castig;
^
user.cpp: In function ‘int main()’:
user.cpp:95:15: warning: unused variable ‘nr’ [-Wunused-variable]
int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0;
^
user.cpp:95:29: warning: unused variable ‘P’ [-Wunused-variable]
int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0;
^
user.cpp:95:32: warning: unused variable ‘castig3’ [-Wunused-variable]
int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0;
^
user.cpp:95:41: warning: unused variable ‘castig1’ [-Wunused-variable]
int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0;
^
user.cpp:95:50: warning: unused variable ‘castig2’ [-Wunused-variable]
int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0;
^
user.cpp:95:62: warning: unused variable ‘nr0’ [-Wunused-variable]
int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0;
^
user.cpp:97:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &N, &C);
^
user.cpp:100:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &A[i].timp, &A[i].pret);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 4ms | 280kb | OK | 10 |
6 | 4ms | 288kb | OK | 10 |
7 | 4ms | 284kb | OK | 10 |
8 | 24ms | 296kb | OK | 10 |
9 | 24ms | 292kb | OK | 10 |
10 | 24ms | 292kb | OK | 10 |
Punctaj total | 100 |