Pagini recente » Borderou de evaluare (job #1440801) | Borderou de evaluare (job #1440527) | Borderou de evaluare (job #3122058) | Borderou de evaluare (job #2693650) | Borderou de evaluare (job #1440827)
Borderou de evaluare (job #1440827)
Raport evaluator
Compilare:
user.cpp: In function ‘void sol()’:
user.cpp:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:78:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (ss + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:118: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:119: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:122:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
/tmp/ccstPrvi.o: In function `sol()':
user.cpp:(.text+0x349): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 292kb | Incorect | 0 |
Punctaj total | 0 |