Pagini recente » Borderou de evaluare (job #880967) | Borderou de evaluare (job #171175) | Borderou de evaluare (job #606231) | Borderou de evaluare (job #2329445) | Borderou de evaluare (job #1679831)
Borderou de evaluare (job #1679831)
Raport evaluator
Compilare:
user.cpp: In function ‘void makeNumber(char*, int*)’:
user.cpp:40:20: warning: unused variable ‘aux’ [-Wunused-variable]
int i, st, dr, aux, nr = 0, num = 0, j;
^
user.cpp:40:33: warning: unused variable ‘num’ [-Wunused-variable]
int i, st, dr, aux, nr = 0, num = 0, j;
^
user.cpp: In function ‘int main()’:
user.cpp:154:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s [1] = NULL;
^
user.cpp:146:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("dragonball.in", "r", stdin);
^
user.cpp:147:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("dragonball.out", "w", stdout);
^
user.cpp:149:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%c", &n, &t, &blank);
^
user.cpp:150:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s);
^
user.cpp:157:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s);
^
/tmp/ccWZtjoO.o: In function `main':
user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 668kb | OK | 10 |
2 | 84ms | 47484kb | OK | 10 |
3 | 20ms | 5108kb | Incorect | 0 |
4 | 88ms | 47652kb | OK | 10 |
5 | 12ms | 5108kb | Incorect | 0 |
6 | 280ms | 67036kb | OK | 10 |
7 | 164ms | 7092kb | Incorect | 0 |
8 | 248ms | 33740kb | Incorect | 0 |
9 | Depăşit | 67004kb | Time limit exceeded. | 0 |
10 | Depăşit | 67000kb | Time limit exceeded. | 0 |
Punctaj total | 40 |