Pagini recente » Borderou de evaluare (job #1118458) | Borderou de evaluare (job #556892) | Borderou de evaluare (job #2092167) | Borderou de evaluare (job #142925) | Borderou de evaluare (job #2222139)
Borderou de evaluare (job #2222139)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0; i<K; i++) {Repeat[Ham[i]]+=2;
^
user.cpp:62:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A=st*Repeat[Ham[List[i]]];
^
user.cpp:63:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
B=st*CRepeat[Ham[List[i]]];
^
user.cpp:65:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(rest>=1) {if(!CLast) A+=Repeat[c]/2;
^
user.cpp:66:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=CRepeat[c]/2;}
^
user.cpp:67:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(rest>=2) {if(!CLast) A+=CRepeat[c]/2;
^
user.cpp:68:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[c]/2;}
^
user.cpp:69:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(rest>=3) {if(!CLast) A+=CRepeat[c]/2;
^
user.cpp:70:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else A+=Repeat[c]/2;}
^
user.cpp: In function ‘long long int Caps(long long int, long long int, long long int)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caps.in", "r", stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("caps.out", "w", stdout);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &K, &Q);
^
user.cpp:39:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(Ham, K+1, stdin);
^
user.cpp:44:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=Q; i++) {scanf("%lld", &List[i]); if(List[i]>Nmax) Nmax=List[i];}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 752kb | Incorect | 0 |
2 | 0ms | 876kb | Corect | 5 |
3 | 0ms | 872kb | Corect | 5 |
4 | 0ms | 872kb | Corect | 5 |
5 | 140ms | 940kb | Corect | 5 |
6 | 236ms | 980kb | Corect | 5 |
7 | 324ms | 1020kb | Corect | 5 |
8 | 412ms | 1052kb | Corect | 5 |
9 | 4ms | 752kb | Corect | 5 |
10 | 4ms | 816kb | Corect | 5 |
11 | 4ms | 756kb | Corect | 5 |
12 | 4ms | 796kb | Corect | 5 |
13 | Depăşit | 956kb | Time limit exceeded. | 0 |
14 | Depăşit | 1016kb | Time limit exceeded. | 0 |
15 | Depăşit | 1064kb | Time limit exceeded. | 0 |
16 | Depăşit | 1088kb | Time limit exceeded. | 0 |
17 | Depăşit | 1112kb | Time limit exceeded. | 0 |
18 | Depăşit | 1132kb | Time limit exceeded. | 0 |
19 | Depăşit | 1140kb | Time limit exceeded. | 0 |
Punctaj total | 55 |