Pagini recente » Borderou de evaluare (job #881177) | Borderou de evaluare (job #1416437) | Borderou de evaluare (job #1921921) | Borderou de evaluare (job #2275658) | Borderou de evaluare (job #1820943)
Borderou de evaluare (job #1820943)
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:33:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++) printf("%d ",sol[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 | 428kb | OK. | 10 |
3 | 0ms | 432kb | OK. | 10 |
4 | 0ms | 448kb | OK. | 10 |
5 | Depăşit | 1416kb | Time limit exceeded. | 0 |
6 | Depăşit | 1008kb | Time limit exceeded. | 0 |
7 | Depăşit | 1496kb | Time limit exceeded. | 0 |
8 | Depăşit | 2648kb | Time limit exceeded. | 0 |
9 | Depăşit | 2740kb | Time limit exceeded. | 0 |
10 | Depăşit | 2956kb | Time limit exceeded. | 0 |
Punctaj total | 40 |