Pagini recente » Borderou de evaluare (job #2043856) | Borderou de evaluare (job #2950717) | Borderou de evaluare (job #272627) | Borderou de evaluare (job #1867819) | Borderou de evaluare (job #1756109)
Borderou de evaluare (job #1756109)
Raport evaluator
Compilare:
user.cpp: In function ‘void apply(int)’:
user.cpp:18:9: warning: unused variable ‘s’ [-Wunused-variable]
int s;
^
user.cpp: In function ‘int main()’:
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:53:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out", "w", stdout);
^
user.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &tsk);
^
user.cpp:57:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + 1);
^
user.cpp:58:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:65:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pat);
^
/tmp/ccnlNRyk.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 2144kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |