Pagini recente » Borderou de evaluare (job #1019978) | Borderou de evaluare (job #603981) | Borderou de evaluare (job #2539915) | Borderou de evaluare (job #3295334) | Borderou de evaluare (job #1216871)
Borderou de evaluare (job #1216871)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:20:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:20:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:23:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&MAX);
^
user.cpp:28:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol);
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pitici3.in","r",stdin);
^
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("pitici3.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:18:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:23:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&MAX);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 5 | 5 |
2 | 0ms | 248kb | OK | 5 | 5 |
3 | 0ms | 260kb | Incorect | 0 | 0 |
4 | 0ms | 248kb | OK | 5 | 5 |
5 | 0ms | 260kb | OK | 5 | 5 |
6 | 0ms | 252kb | Incorect | 0 | 0 |
7 | 0ms | 256kb | Incorect | 0 | 0 |
8 | 0ms | 256kb | OK | 5 | 5 |
9 | 0ms | 248kb | OK | 5 | 5 |
10 | 0ms | 252kb | Incorect | 0 | 0 |
11 | 0ms | 252kb | Incorect | 0 | 0 |
12 | 0ms | 260kb | Incorect | 0 | 0 |
13 | 0ms | 260kb | Incorect | 0 | 0 |
14 | 0ms | 260kb | Incorect | 0 | 0 |
15 | 0ms | 268kb | Incorect | 0 | 0 |
16 | 0ms | 320kb | Incorect | 0 | 0 |
17 | 0ms | 268kb | Incorect | 0 | 0 |
18 | 0ms | 264kb | Incorect | 0 | 0 |
19 | 0ms | 272kb | Incorect | 0 |
20 | 0ms | 248kb | OK | 5 |
Punctaj total | 30 |