Pagini recente » Borderou de evaluare (job #2843300) | Borderou de evaluare (job #1244919) | Borderou de evaluare (job #796332) | Borderou de evaluare (job #145532) | Borderou de evaluare (job #2195191)
Borderou de evaluare (job #2195191)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < strlen(a); i++ )
~~^~~~~~~~~~~
user.cpp:22:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sum = sum + l[a[i]];
^
user.cpp:29:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while( w >= l[a[i]] && i < strlen(a) )
^
user.cpp:29:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( w >= l[a[i]] && i < strlen(a) )
~~^~~~~~~~~~~
user.cpp:32:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
w = w - l[a[i]];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1384kb | OK | 10 | 0 |
2 | 0ms | 1384kb | OK | 10 |
3 | 0ms | 1380kb | OK | 10 |
4 | 0ms | 1384kb | OK | 10 |
5 | 4ms | 1412kb | OK | 10 |
6 | 4ms | 1580kb | OK | 10 |
7 | 8ms | 2360kb | OK | 10 |
8 | Depăşit | 2360kb | Time limit exceeded. | 0 |
9 | 112ms | 2356kb | OK | 10 |
10 | Depăşit | 2356kb | Time limit exceeded. | 0 |
Punctaj total | 0 |