Pagini recente » Borderou de evaluare (job #340553) | Borderou de evaluare (job #1411563)
Borderou de evaluare (job #1411563)
Raport evaluator
Compilare:
user.cpp: In function ‘void Impar()’:
user.cpp:16:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",val);
^
user.cpp:21:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",val);
^
user.cpp: In function ‘void Par()’:
user.cpp:35:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",val);
^
user.cpp:39:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",val);
^
user.cpp: In function ‘int main()’:
user.cpp:47:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
scanf("%c\n%ld",&ch,&n); n++;
^
user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnica.in","r",stdin);
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnica.out","w",stdout);
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c\n%ld",&ch,&n); n++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 5 | 100 |
2 | 0ms | 248kb | OK | 5 |
3 | 0ms | 248kb | OK | 5 |
4 | 0ms | 240kb | OK | 5 |
5 | 0ms | 240kb | OK | 5 |
6 | 0ms | 244kb | OK | 5 |
7 | 0ms | 244kb | OK | 5 |
8 | 0ms | 244kb | OK | 5 |
9 | 0ms | 244kb | OK | 5 |
10 | 0ms | 240kb | OK | 5 |
11 | 0ms | 240kb | OK | 5 |
12 | 0ms | 244kb | OK | 5 |
13 | 0ms | 240kb | OK | 5 |
14 | 0ms | 244kb | OK | 5 |
15 | 0ms | 244kb | OK | 5 |
16 | 0ms | 248kb | OK | 5 |
17 | 0ms | 240kb | OK | 5 |
18 | 0ms | 240kb | OK | 5 |
19 | 0ms | 244kb | OK | 5 |
20 | 0ms | 244kb | OK | 5 |
Punctaj total | 100 |