Pagini recente » Borderou de evaluare (job #2169703) | Borderou de evaluare (job #910812) | Borderou de evaluare (job #2888559) | Borderou de evaluare (job #1443642) | Borderou de evaluare (job #1265389)
Borderou de evaluare (job #1265389)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in", "r", stdin);
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out", "w", stdout);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccQZaoZk.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Raspuns gresit! | 0 |
| 2 | 0ms | 256kb | Raspuns gresit! | 0 |
| 3 | 0ms | 268kb | Raspuns gresit! | 0 |
| 4 | 0ms | 336kb | Raspuns gresit! | 0 |
| 5 | 44ms | 780kb | Raspuns gresit! | 0 |
| 6 | 24ms | 1468kb | Raspuns gresit! | 0 |
| 7 | 0ms | 932kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 16ms | 1404kb | OK! | 10 |
| 10 | 0ms | 664kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 10 |