Pagini recente » Cod sursa (job #648082) | Cod sursa (job #1799448) | Cod sursa (job #2377098) | Cod sursa (job #2586680) | Borderou de evaluare (job #1528785)
Borderou de evaluare (job #1528785)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a[i] == '*')
^
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.in", "r", stdin);
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.out", "w", stdout);
^
user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:12:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccgOu3Ao.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 452kb | Incorect | 0 | 0 |
| 2 | 0ms | 456kb | Incorect | 0 |
| 3 | 0ms | 456kb | Incorect | 0 |
| 4 | 0ms | 448kb | Incorect | 0 |
| 5 | 0ms | 468kb | Incorect | 0 | 0 |
| 6 | 0ms | 480kb | Incorect | 0 | 0 |
| 7 | 4ms | 504kb | Incorect | 0 | 0 |
| 8 | 8ms | 500kb | Incorect | 0 | 0 |
| 9 | 8ms | 504kb | Incorect | 0 | 0 |
| 10 | 16ms | 496kb | Incorect | 0 | 0 |
| Punctaj total | 0 |