Pagini recente » Borderou de evaluare (job #1117583) | Borderou de evaluare (job #3277877) | Borderou de evaluare (job #1984992) | Borderou de evaluare (job #2454007) | Borderou de evaluare (job #1408856)
Borderou de evaluare (job #1408856)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in","r",stdin);
^
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out","w",stdout);
^
user.cpp:58:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:62:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); m=strlen(b+1);
^
user.cpp:65:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n=strlen(a+1); N = n;
^
user.cpp:74:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n=strlen(a+1); M = n;
^
/tmp/ccnOBKit.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 812kb | OK | 100 |
Punctaj total | 100 |