Pagini recente » Borderou de evaluare (job #1272022) | Borderou de evaluare (job #1440984) | Borderou de evaluare (job #2212085) | Borderou de evaluare (job #2057428) | Borderou de evaluare (job #1440897)
Borderou de evaluare (job #1440897)
Raport evaluator
Compilare:
user.cpp: In function ‘void sol()’:
user.cpp:72:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
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:120: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:121: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:124:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
/tmp/ccW2XEvh.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 | 296kb | OK | 100 |
Punctaj total | 100 |