Pagini recente » Borderou de evaluare (job #1076735) | Borderou de evaluare (job #2587446) | Borderou de evaluare (job #2773417) | Borderou de evaluare (job #38634) | Borderou de evaluare (job #2369035)
Borderou de evaluare (job #2369035)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5003]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:27:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(s[i]) == lmax){
~~~~~~~~~~~~~^~~~~~~
main.cpp:53:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(k <= strlen(s[i]) && l <= strlen(s[j])){
~~^~~~~~~~~~~~~~~
main.cpp:53:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(k <= strlen(s[i]) && l <= strlen(s[j])){
~~^~~~~~~~~~~~~~~
main.cpp:59:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == strlen(s[i])){
~~^~~~~~~~~~~~~~~
main.cpp:10:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in", "r", stdin);
^
main.cpp:11:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out", "w", stdout);
^
main.cpp:13:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &cer, &N);
^
main.cpp:15:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 917kb | OK. | 5 | 20 |
2 | 7ms | 1179kb | OK. | 5 |
3 | 3ms | 262kb | OK. | 5 |
4 | 4ms | 786kb | OK. | 5 |
5 | 3ms | 262kb | Numar de siruri incorect. | 0 | 0 |
6 | 54ms | 1310kb | Numar de siruri incorect. | 0 | 0 |
7 | 3ms | 262kb | Numar de siruri incorect. | 0 | 0 |
8 | 70ms | 1441kb | Numar de siruri incorect. | 0 | 0 |
9 | 587ms | 3145kb | Numar de siruri incorect. | 0 | 0 |
10 | 159ms | 2228kb | Numar de siruri incorect. | 0 | 0 |
11 | 436ms | 2752kb | Numar de siruri incorect. | 0 | 0 |
12 | 192ms | 2359kb | Numar de siruri incorect. | 0 | 0 |
13 | 222ms | 2490kb | Numar de siruri incorect. | 0 | 0 |
14 | 147ms | 2228kb | Numar de siruri incorect. | 0 | 0 |
15 | 181ms | 2359kb | Numar de siruri incorect. | 0 | 0 |
16 | 537ms | 2752kb | Numar de siruri incorect. | 0 | 0 |
17 | 333ms | 2621kb | Numar de siruri incorect. | 0 | 0 |
18 | 174ms | 2228kb | Numar de siruri incorect. | 0 | 0 |
19 | 199ms | 2490kb | Numar de siruri incorect. | 0 | 0 |
20 | 826ms | 3014kb | Numar de siruri incorect. | 0 | 0 |
21 | 818ms | 3014kb | Numar de siruri incorect. | 0 | 0 |
22 | 223ms | 2621kb | Numar de siruri incorect. | 0 | 0 |
Punctaj total | 20 |