Pagini recente » Borderou de evaluare (job #1155559) | Borderou de evaluare (job #52927) | Borderou de evaluare (job #3273884) | Borderou de evaluare (job #1816497) | Borderou de evaluare (job #2248844)
Borderou de evaluare (job #2248844)
Raport evaluator
Compilare:
user.cpp: In function ‘void generare()’:
user.cpp:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(c);i++)
~^~~~~~~~~~
user.cpp:106:13: warning: label ‘peste’ defined but not used [-Wunused-label]
peste:
^~~~~
user.cpp: In function ‘int main()’:
user.cpp:155:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000001]’ [-Wformat=]
scanf("%s",&c);
^
user.cpp: In function ‘int next_good_char_poz(int)’:
user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:145:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.in","r",stdin);
^
user.cpp:146:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laundering.out","w",stdout);
^
user.cpp:151:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:155:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 5224kb | Time limit exceeded. | 0 |
Punctaj total | 0 |