Pagini recente » Borderou de evaluare (job #2174133) | Borderou de evaluare (job #992526) | Borderou de evaluare (job #2197261) | Autentificare | Borderou de evaluare (job #1351402)
Borderou de evaluare (job #1351402)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algoritm.in", "r", stdin);
^
user.cpp:41:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algoritm.out", "w", stdout);
^
user.cpp:43:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
user.cpp:46:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:55:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccaIiY8b.o: In function `main':
user.cpp:(.text.startup+0x104): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 168ms | 7792kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |