Pagini recente » Borderou de evaluare (job #1226472) | Borderou de evaluare (job #2237545) | Borderou de evaluare (job #2593079) | Borderou de evaluare (job #3251889) | Borderou de evaluare (job #1441002)
Borderou de evaluare (job #1441002)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:42: 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:68:44: 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:69:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:72:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:79:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
/tmp/ccJSeJ0A.o: In function `main':
user.cpp:(.text.startup+0x113): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 1300kb | Incorect | 0 |
Punctaj total | 0 |