Pagini recente » Borderou de evaluare (job #1576896) | Borderou de evaluare (job #1033875) | Borderou de evaluare (job #421516) | Borderou de evaluare (job #31263) | Borderou de evaluare (job #1817833)
Borderou de evaluare (job #1817833)
Raport evaluator
Compilare:
user.c:6:1: warning: data definition has no type or storage class [enabled by default]
replace(char firstString[], char secondString[], char thirdString[]);
^
user.c:6:1: warning: type defaults to ‘int’ in declaration of ‘replace’ [enabled by default]
user.c: In function ‘main’:
user.c:42:22: warning: operation on ‘j’ may be undefined [-Wsequence-point]
boolVar[letters[j++] - 'A'] = 1 - boolVar[letters[j] - 'A'];
^
user.c:14:16: warning: unused variable ‘k’ [-Wunused-variable]
int i=-1, j=0, k=0, nChanges;
^
user.c: At top level:
user.c:79:1: warning: return type defaults to ‘int’ [enabled by default]
replace(char firstString[], char secondString[], char thirdString[]){
^
user.c: In function ‘main’:
user.c:27:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &nChanges);
^
user.c:28:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%s", letters);
^
user.c: In function ‘replace’:
user.c:135:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 64ms | 260kb | Incorect | 0 |
6 | 44ms | 260kb | Incorect | 0 |
7 | 48ms | 264kb | Incorect | 0 |
8 | 36ms | 260kb | Incorect | 0 |
9 | 44ms | 264kb | Incorect | 0 |
10 | 48ms | 264kb | OK | 10 |
Punctaj total | 10 |