Pagini recente » Cod sursa (job #1451705) | Cod sursa (job #608676) | Borderou de evaluare (job #1467795) | Borderou de evaluare (job #943814) | Borderou de evaluare (job #1761571)
Borderou de evaluare (job #1761571)
Raport evaluator
Compilare:
user.cpp: In function ‘bool check(unsigned int)’:
user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(val[p] == x && (fr[p]))
^
user.cpp: In function ‘void sterge(unsigned int)’:
user.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(val[p] == x)
^
user.cpp: In function ‘int main()’:
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.in", "r", stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.out", "w", stdout);
^
user.cpp:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u", &n, &m);
^
user.cpp:53:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld%lld", &a, &b, &c, &d, &e);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 664kb | OK | 10 |
2 | 4ms | 2092kb | OK | 10 |
3 | 40ms | 7784kb | OK | 10 |
4 | 152ms | 8448kb | OK | 10 |
5 | 192ms | 8532kb | OK | 10 |
6 | 740ms | 8532kb | OK | 10 |
7 | 516ms | 8520kb | OK | 10 |
8 | Depăşit | 8508kb | Time limit exceeded. | 0 |
9 | Depăşit | 8504kb | Time limit exceeded. | 0 |
10 | 0ms | 328kb | OK | 10 |
Punctaj total | 80 |