Pagini recente » Borderou de evaluare (job #106457) | Borderou de evaluare (job #1573264) | Borderou de evaluare (job #1277086) | Borderou de evaluare (job #2126192) | Borderou de evaluare (job #1481481)
Borderou de evaluare (job #1481481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a += w[i + 1] * v[T[i]];
^
user.cpp:38:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a += w[i + 1] * v[S[i]];
^
user.cpp:45:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a += w[nr] * v[S[i]];
^
user.cpp:49:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", SOL);
^
user.cpp: In function ‘bool Search(long long int)’:
user.cpp:57:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (*it = Val)
^
user.cpp: In function ‘int main()’:
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in","r",stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out","w",stdout);
^
user.cpp:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccmmZKOl.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 8068kb | Incorect | 0 | 0 |
2 | 12ms | 8068kb | OK | 10 |
3 | 40ms | 8096kb | OK | 10 |
4 | 328ms | 8172kb | Incorect | 0 |
5 | Depăşit | 8460kb | Time limit exceeded. | 0 |
6 | Depăşit | 9472kb | Time limit exceeded. | 0 |
7 | Depăşit | 13688kb | Time limit exceeded. | 0 |
8 | Depăşit | 18568kb | Time limit exceeded. | 0 |
9 | Depăşit | 18564kb | Time limit exceeded. | 0 |
10 | Depăşit | 18564kb | Time limit exceeded. | 0 |
Punctaj total | 0 |