Pagini recente » Borderou de evaluare (job #1281995) | Borderou de evaluare (job #2648997) | Borderou de evaluare (job #2981780) | Borderou de evaluare (job #1938190) | Borderou de evaluare (job #1440157)
Borderou de evaluare (job #1440157)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=1;j<=strlen(s+1);j++)
^
user.cpp:14:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.in","r",stdin);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.out","w",stdout);
^
user.cpp:16:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:19:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); soll=0;
^
/tmp/ccHf06CI.o: In function `main':
user.cpp:(.text.startup+0xa4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1224kb | Time limit exceeded. | 0 |
Punctaj total | 0 |