Pagini recente » Borderou de evaluare (job #560187) | Borderou de evaluare (job #2638064) | Borderou de evaluare (job #2229818) | Borderou de evaluare (job #56729) | Borderou de evaluare (job #1268444)
Borderou de evaluare (job #1268444)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:15:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.in", "r", stdin);
^
user.cpp:16:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.out", "w", stdout);
^
user.cpp:21:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:33:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pos);
^
/tmp/ccnhgPpr.o: In function `main':
user.cpp:(.text.startup+0x5a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 0ms | 324kb | OK | 10 |
8 | 0ms | 320kb | OK | 10 |
9 | 4ms | 776kb | OK | 10 |
10 | 8ms | 756kb | OK | 10 |
Punctaj total | 100 |