Pagini recente » Borderou de evaluare (job #1156778) | Borderou de evaluare (job #2269128) | Borderou de evaluare (job #2645300) | Borderou de evaluare (job #1120392) | Borderou de evaluare (job #1801031)
Borderou de evaluare (job #1801031)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",n-1);}
^
user.cpp:91:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",n);}
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre5.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre5.out","w",stdout);
^
user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&p);
^
user.cpp:17:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x+1);
^
/tmp/ccaYfePe.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 |
1 | 0ms | 252kb | OK | 4 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | OK | 4 |
4 | 0ms | 256kb | OK | 4 |
5 | 0ms | 256kb | OK | 4 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 252kb | OK | 4 |
8 | 0ms | 256kb | OK | 4 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
11 | 0ms | 256kb | Incorect | 0 |
12 | 0ms | 256kb | Incorect | 0 |
13 | 0ms | 256kb | Incorect | 0 |
14 | 0ms | 260kb | Incorect | 0 |
15 | 0ms | 256kb | OK | 4 |
16 | 0ms | 252kb | Incorect | 0 |
17 | 0ms | 256kb | Incorect | 0 |
18 | 0ms | 260kb | Incorect | 0 |
19 | 0ms | 256kb | Incorect | 0 |
20 | 0ms | 252kb | Incorect | 0 |
21 | 0ms | 260kb | OK | 4 |
22 | 0ms | 256kb | OK | 4 |
23 | 0ms | 256kb | OK | 4 |
24 | 0ms | 260kb | OK | 4 |
25 | 0ms | 260kb | OK | 4 |
Punctaj total | 48 |