Pagini recente » Borderou de evaluare (job #2880514) | Borderou de evaluare (job #827939) | Borderou de evaluare (job #2693840) | Borderou de evaluare (job #1440948) | Borderou de evaluare (job #1440751)
Borderou de evaluare (job #1440751)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:154:10: warning: variable ‘da’ set but not used [-Wunused-but-set-variable]
bool da = 0;
^
user.cpp: In function ‘void cit(int&, str&)’:
user.cpp:104:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), L = strlen (sir + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:142:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("largestroot.in", "r", stdin);
^
user.cpp:143:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("largestroot.out", "w", stdout);
^
user.cpp:145:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:149:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &N);
^
/tmp/cclNjg8R.o: In function `cit(int&, str&)':
user.cpp:(.text+0x346): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 536kb | Incorect | 0 |
Punctaj total | 0 |