Pagini recente » Borderou de evaluare (job #1716693) | Borderou de evaluare (job #2036325) | Borderou de evaluare (job #2902715) | Borderou de evaluare (job #1859676) | Borderou de evaluare (job #1427928)
Borderou de evaluare (job #1427928)
Raport evaluator
Compilare:
user.cpp: In function ‘bool inhash(int, int)’:
user.cpp:12:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (a->m=x) return true;
^
user.cpp: In function ‘int main()’:
user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d%d%d%d%d",&a,&b,&c,&d,&e);
^
user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:33:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x>=e) x=x%e;
^
user.cpp:26:31: 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:27:33: 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:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:29:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&a,&b,&c,&d,&e);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&xx);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 700kb | OK | 10 |
2 | 0ms | 2308kb | Incorect | 0 |
3 | 44ms | 780kb | Incorect | 0 |
4 | 176ms | 5556kb | Incorect | 0 |
5 | 204ms | 2732kb | Incorect | 0 |
6 | 212ms | Depăşit | Memory limit exceeded. | 0 |
7 | 676ms | 984kb | Incorect | 0 |
8 | 244ms | Depăşit | Memory limit exceeded. | 0 |
9 | 212ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 316kb | OK | 10 |
Punctaj total | 20 |