Pagini recente » Borderou de evaluare (job #1206781) | Borderou de evaluare (job #2991181) | Borderou de evaluare (job #1423488) | Borderou de evaluare (job #1708169) | Borderou de evaluare (job #1521123)
Borderou de evaluare (job #1521123)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d", &a, &b);
^
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", b);
^
user.cpp:30:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", a);
^
user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.in", "r", stdin);
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc.out", "w", stdout);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OKAY! | 10 |
2 | 0ms | 252kb | OKAY! | 10 |
3 | 0ms | 256kb | OKAY! | 10 |
4 | 0ms | 252kb | OKAY! | 10 |
5 | 0ms | 260kb | OKAY! | 10 |
6 | 0ms | 244kb | OKAY! | 10 |
7 | 0ms | 260kb | OKAY! | 10 |
8 | 0ms | 248kb | OKAY! | 10 |
9 | 0ms | 244kb | OKAY! | 10 |
10 | 0ms | 252kb | OKAY! | 10 |
Punctaj total | 100 |