Pagini recente » Borderou de evaluare (job #657866) | Borderou de evaluare (job #1203252) | Borderou de evaluare (job #2678472) | Borderou de evaluare (job #2424353) | Borderou de evaluare (job #1440303)
Borderou de evaluare (job #1440303)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=1;j<=strlen(s+1);j++){
^
user.cpp:30:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<in.size();j++)
^
user.cpp:20: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:21: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:22:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:24: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:25:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); soll=0; in.clear();
^
/tmp/cciyA2Dk.o: In function `main':
user.cpp:(.text.startup+0xa9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1748kb | Time limit exceeded. | 0 |
Punctaj total | 0 |