Pagini recente » Borderou de evaluare (job #573281) | Borderou de evaluare (job #232891) | Borderou de evaluare (job #643759) | Cod sursa (job #2662905) | Borderou de evaluare (job #1820948)
Borderou de evaluare (job #1820948)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[500005]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:15:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<strlen(s))
^
user.cpp:18:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<(strlen(s)-1) && s[i]==s[i+1]) i++;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semne3.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semne3.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK. | 10 |
2 | 0ms | 436kb | OK. | 10 |
3 | 0ms | 440kb | OK. | 10 |
4 | 0ms | 448kb | OK. | 10 |
5 | Depăşit | 1416kb | Time limit exceeded. | 0 |
6 | Depăşit | 1044kb | Time limit exceeded. | 0 |
7 | Depăşit | 1516kb | Time limit exceeded. | 0 |
8 | Depăşit | 2652kb | Time limit exceeded. | 0 |
9 | Depăşit | 2752kb | Time limit exceeded. | 0 |
10 | Depăşit | 2980kb | Time limit exceeded. | 0 |
Punctaj total | 40 |