Pagini recente » Borderou de evaluare (job #1401216) | Borderou de evaluare (job #268677) | Borderou de evaluare (job #987852) | Borderou de evaluare (job #89892) | Borderou de evaluare (job #1303006)
Borderou de evaluare (job #1303006)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<strlen(c);j++)
^
user.cpp:17:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[c[j]]==0)
^
user.cpp:18:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c[j]]=j+1;
^
user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr+=v[c[j]]*p,p*=10;
^
user.cpp:29:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<strlen(c);j++)
^
user.cpp:30:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(v[c[j]]==0)
^
user.cpp:31:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c[j]]=j+1;
^
user.cpp:34:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr+=v[c[j]]*p,p*=10;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 428kb | OK | 10 |
4 | 28ms | 640kb | OK | 10 |
5 | 56ms | 784kb | OK | 10 |
6 | 60ms | 784kb | OK | 10 |
7 | 60ms | 784kb | OK | 10 |
8 | 56ms | 784kb | OK | 10 |
9 | 56ms | 784kb | OK | 10 |
10 | 56ms | 784kb | OK | 10 |
Punctaj total | 100 |