Pagini recente » Borderou de evaluare (job #2857935) | Borderou de evaluare (job #3157807) | Borderou de evaluare (job #3336156) | Borderou de evaluare (job #2079374) | Borderou de evaluare (job #1265402)
Borderou de evaluare (job #1265402)
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/ccdC2ZaB.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 | OK! | 10 |
| 2 | 0ms | 260kb | OK! | 10 |
| 3 | 0ms | 260kb | OK! | 10 |
| 4 | 0ms | 292kb | Raspuns gresit! | 0 |
| 5 | 44ms | 744kb | OK! | 10 |
| 6 | 16ms | 704kb | OK! | 10 |
| 7 | 32ms | 1112kb | OK! | 10 |
| 8 | 44ms | 1260kb | OK! | 10 |
| 9 | 12ms | 644kb | OK! | 10 |
| 10 | 24ms | 1028kb | OK! | 10 |
| Punctaj total | 90 |