Pagini recente » Borderou de evaluare (job #2926994) | Borderou de evaluare (job #1984185) | Borderou de evaluare (job #1266063) | Borderou de evaluare (job #2447914) | Borderou de evaluare (job #1440502)
Borderou de evaluare (job #1440502)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34: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:35: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:36:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &z);
^
user.cpp:39:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:42:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccYSEHNM.o: In function `main':
user.cpp:(.text.startup+0x111): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 384kb | Incorect | 0 |
Punctaj total | 0 |