Pagini recente » Borderou de evaluare (job #355136) | Borderou de evaluare (job #1798434) | Borderou de evaluare (job #1335343) | Borderou de evaluare (job #1889541) | Borderou de evaluare (job #1801036)
Borderou de evaluare (job #1801036)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",n-scadenta);}
^
user.cpp:92: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/ccDh3CU6.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 | 264kb | OK | 4 |
2 | 0ms | 260kb | OK | 4 |
3 | 0ms | 264kb | OK | 4 |
4 | 0ms | 260kb | OK | 4 |
5 | 0ms | 260kb | OK | 4 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 256kb | OK | 4 |
8 | 0ms | 260kb | OK | 4 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 0ms | 264kb | Incorect | 0 |
11 | 0ms | 260kb | Incorect | 0 |
12 | 0ms | 260kb | Incorect | 0 |
13 | 0ms | 256kb | Incorect | 0 |
14 | 0ms | 260kb | Incorect | 0 |
15 | 0ms | 256kb | OK | 4 |
16 | 0ms | 260kb | OK | 4 |
17 | 0ms | 264kb | Incorect | 0 |
18 | 0ms | 260kb | Incorect | 0 |
19 | 0ms | 256kb | Incorect | 0 |
20 | 0ms | 260kb | Incorect | 0 |
21 | 0ms | 260kb | OK | 4 |
22 | 0ms | 256kb | OK | 4 |
23 | 0ms | 264kb | OK | 4 |
24 | 0ms | 264kb | OK | 4 |
25 | 0ms | 260kb | OK | 4 |
Punctaj total | 56 |