Pagini recente » Borderou de evaluare (job #603790) | Borderou de evaluare (job #145425) | Borderou de evaluare (job #1915720) | Borderou de evaluare (job #271857) | Borderou de evaluare (job #1845496)
Borderou de evaluare (job #1845496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in", "r", stdin);
^
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out", "w", stdout);
^
user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &v[i]);
^
user.cpp:19:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:20:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n%lld\n", &w);
^
/tmp/ccluQhbJ.o: In function `main':
user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 | 0 |
2 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |