Pagini recente » Borderou de evaluare (job #1087321) | Borderou de evaluare (job #482209) | Borderou de evaluare (job #2282892) | Borderou de evaluare (job #2704268) | Borderou de evaluare (job #1697342)
Borderou de evaluare (job #1697342)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:32:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k = 0;
^
user.cpp: In function ‘void read()’:
user.cpp:23:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:24:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(l + 1);
^
user.cpp:25:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(r + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in", "r", stdin);
^
user.cpp:64:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out", "w", stdout);
^
user.cpp:65:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/cc78sYVD.o: In function `read()':
user.cpp:(.text+0x83): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 1008kb | Incorect | 0 |
Punctaj total | 0 |