Pagini recente » Borderou de evaluare (job #2208605) | Borderou de evaluare (job #2969195) | Borderou de evaluare (job #463843) | Borderou de evaluare (job #490315) | Borderou de evaluare (job #1440067)
Borderou de evaluare (job #1440067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
user.cpp:27:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T; --T){
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
user.cpp:32:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(text);
^
/tmp/ccOdKosn.o: In function `main':
user.cpp:(.text.startup+0xa1): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |