Pagini recente » Borderou de evaluare (job #3182186) | Borderou de evaluare (job #1601545) | Borderou de evaluare (job #826039) | Borderou de evaluare (job #1593465) | Borderou de evaluare (job #1801037)
Borderou de evaluare (job #1801037)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",n-scadenta);}
^
user.cpp:97:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long 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:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&p);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x+1);
^
/tmp/cc9LdxJM.o: In function `main':
user.cpp:(.text.startup+0x72): 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 | 252kb | OK | 4 |
3 | 0ms | 256kb | OK | 4 |
4 | 0ms | 260kb | OK | 4 |
5 | 0ms | 260kb | OK | 4 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 0ms | 256kb | OK | 4 |
8 | 0ms | 256kb | OK | 4 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
11 | 0ms | 252kb | Incorect | 0 |
12 | 0ms | 252kb | Incorect | 0 |
13 | 0ms | 252kb | Incorect | 0 |
14 | 0ms | 260kb | Incorect | 0 |
15 | 0ms | 256kb | OK | 4 |
16 | 0ms | 256kb | OK | 4 |
17 | 0ms | 252kb | Incorect | 0 |
18 | 0ms | 256kb | Incorect | 0 |
19 | 0ms | 252kb | Incorect | 0 |
20 | 0ms | 260kb | Incorect | 0 |
21 | 0ms | 256kb | OK | 4 |
22 | 0ms | 256kb | OK | 4 |
23 | 0ms | 252kb | OK | 4 |
24 | 0ms | 260kb | OK | 4 |
25 | 0ms | 260kb | OK | 4 |
Punctaj total | 56 |