Pagini recente » Borderou de evaluare (job #2389717) | Borderou de evaluare (job #112062) | Borderou de evaluare (job #870790) | Borderou de evaluare (job #485215) | Borderou de evaluare (job #2132248)
Borderou de evaluare (job #2132248)
Raport evaluator
Compilare:
user.cpp: In function ‘int ap(int, int)’:
user.cpp:20:7: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = 0, ans = 0, p10 = 1, suf = n, pref = 0;
^
user.cpp: In function ‘std::pair<long long unsigned int, long long unsigned int> getb(int*)’:
user.cpp:45:7: warning: unused variable ‘p1’ [-Wunused-variable]
int p1 = 1, p2 = 1;
^
user.cpp:45:15: warning: unused variable ‘p2’ [-Wunused-variable]
int p1 = 1, p2 = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:120:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (egal(aux, fr) && nr > nb[i])
^
user.cpp:134:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (egal(aux, fr) && nr > nb[i])
^
user.cpp:140:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m[aa] != 0 && nr > nb[m[aa]] + nb[i])
^
user.cpp:144:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ans == -1)
^
user.cpp:90:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colectie.in", "r", stdin);
^
user.cpp:91:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colectie.out", "w", stdout);
^
user.cpp:94:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:102:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 1024kb | OK! | 10 |
2 | 12ms | 1060kb | OK! | 10 |
3 | 8ms | 1032kb | OK! | 10 |
4 | 12ms | 1068kb | OK! | 10 |
5 | 40ms | 1772kb | OK! | 10 |
6 | 84ms | 2180kb | OK! | 10 |
7 | 108ms | 3244kb | OK! | 10 |
8 | 176ms | 4748kb | OK! | 10 |
9 | 160ms | 4104kb | OK! | 10 |
10 | 152ms | 3764kb | OK! | 10 |
Punctaj total | 100 |