Pagini recente » Borderou de evaluare (job #1256450) | Borderou de evaluare (job #1852960) | Borderou de evaluare (job #2610064) | Borderou de evaluare (job #3287829) | Borderou de evaluare (job #2438266)
Borderou de evaluare (job #2438266)
Raport evaluator
Compilare:
main.cpp: In function 'int Build(int, int, int)':
main.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int Cmp()':
main.cpp:52:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(s1); i++) frecv[s1[i] - 'a']++;
~~^~~~~~~~~~~~
main.cpp:53:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(s2); i++) frecv1[s2[i] - 'a']++;
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(s2); i++){
~~^~~~~~~~~~~~
main.cpp:75:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(s2); i++)
~~^~~~~~~~~~~~
main.cpp: In function 'int Update(int, int, int, int)':
main.cpp:49:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:61:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in", "r", stdin);
^
main.cpp:62:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out", "w", stdout);
^
main.cpp:64:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s", s1, s2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 9ms | 262kb | OK | 10 |
4 | 10ms | 262kb | OK | 10 |
5 | 53ms | 131kb | Time limit exceeded | 0 |
6 | 53ms | 262kb | Time limit exceeded | 0 |
7 | 53ms | 262kb | Time limit exceeded | 0 |
8 | 53ms | 262kb | Time limit exceeded | 0 |
9 | 53ms | 262kb | Time limit exceeded | 0 |
10 | 53ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 40 |