Pagini recente » Borderou de evaluare (job #2040794) | Borderou de evaluare (job #431152) | Borderou de evaluare (job #2003051) | Borderou de evaluare (job #2224274) | Borderou de evaluare (job #1314091)
Borderou de evaluare (job #1314091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1; i<=strlen(s+1); ++i )
^
user.cpp:74:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=strlen(s+1); ++i)
^
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "rt", stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out", "wt", stdout);
^
user.cpp:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:59:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:63:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word+1);
^
/tmp/ccM7d64V.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 196ms | 3224kb | OK | 100 |
Punctaj total | 100 |