Pagini recente » Borderou de evaluare (job #380261) | Borderou de evaluare (job #2388680) | Borderou de evaluare (job #1017237) | Borderou de evaluare (job #2951622) | Borderou de evaluare (job #2120400)
Borderou de evaluare (job #2120400)
Raport evaluator
Compilare:
user.cpp: In function ‘int ssi(int, int)’:
user.cpp:11:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<strlen(s[b]) && j<strlen(s[a]))
^
user.cpp:11:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<strlen(s[b]) && j<strlen(s[a]))
^
user.cpp:15:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==strlen(s[a])) return 1;
^
user.cpp: In function ‘int main()’:
user.cpp:25:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5001]’ [-Wformat=]
scanf("%s",&a);
^
user.cpp:29:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5001]’ [-Wformat=]
scanf("%s",&s[1]);
^
user.cpp:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(s[1])>m)
^
user.cpp:35:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(strlen(s[1])==m)
^
user.cpp:47:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5001]’ [-Wformat=]
scanf("%s",&s[i]);
^
user.cpp:20:39: 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);
^
user.cpp:21:41: 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);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&n);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
user.cpp:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s[1]);
^
user.cpp:47:30: 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 | 4ms | 1268kb | OK. | 5 | 20 |
2 | 4ms | 1268kb | OK. | 5 |
3 | 0ms | 1264kb | OK. | 5 |
4 | 0ms | 1264kb | OK. | 5 |
5 | 0ms | 1348kb | OK. | 3 | 3 |
6 | 164ms | 2076kb | OK. | 3 | 3 |
7 | 0ms | 1300kb | OK. | 3 | 3 |
8 | 124ms | 1760kb | OK. | 3 | 3 |
9 | 180ms | 2232kb | OK. | 4 | 4 |
10 | 412ms | 2220kb | OK. | 4 | 4 |
11 | 156ms | 2116kb | OK. | 4 | 4 |
12 | 468ms | 2180kb | OK. | 4 | 4 |
13 | 476ms | 2200kb | OK. | 4 | 4 |
14 | 504ms | 2232kb | OK. | 5 | 5 |
15 | 456ms | 2228kb | OK. | 5 | 5 |
16 | 496ms | 2232kb | OK. | 5 | 5 |
17 | 480ms | 2216kb | OK. | 5 | 5 |
18 | 684ms | 2240kb | OK. | 5 | 5 |
19 | 684ms | 2236kb | OK. | 5 | 5 |
20 | 688ms | 2232kb | OK. | 6 | 6 |
21 | 692ms | 2232kb | OK. | 6 | 6 |
22 | 688ms | 2236kb | OK. | 6 | 6 |
Punctaj total | 100 |