Pagini recente » Borderou de evaluare (job #862853) | Borderou de evaluare (job #2382891) | Borderou de evaluare (job #2931851) | Borderou de evaluare (job #117934) | Borderou de evaluare (job #1845494)
Borderou de evaluare (job #1845494)
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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n", &w);
^
/tmp/ccrlWU1L.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 | 320kb | Killed by signal 6(SIGABRT). | 0 | 0 |
2 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 320kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 324kb | 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 | 316kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 324kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |