Pagini recente » Borderou de evaluare (job #2613505) | Borderou de evaluare (job #2615627) | Borderou de evaluare (job #1703771) | Borderou de evaluare (job #3145971) | Borderou de evaluare (job #1824713)
Borderou de evaluare (job #1824713)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LD* {aka long double*}’ [-Wformat=]
scanf("%d%d", &a, &b);
^
user.cpp:27:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LD* {aka long double*}’ [-Wformat=]
user.cpp:35:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LD* {aka long double*}’ [-Wformat=]
scanf("%d%d%d%d", &a, &b, &x, &y);
^
user.cpp:35:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LD* {aka long double*}’ [-Wformat=]
user.cpp:35:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘LD* {aka long double*}’ [-Wformat=]
user.cpp:35:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘LD* {aka long double*}’ [-Wformat=]
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nn.in", "rt", stdin);
^
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nn.out", "wt", stdout);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:27:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:35:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a, &b, &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | OK | 10 |
2 | 4ms | 516kb | OK | 10 |
3 | 4ms | 512kb | OK | 10 |
4 | 4ms | 508kb | OK | 10 |
5 | 4ms | 520kb | OK | 10 |
6 | 228ms | 1796kb | OK | 10 |
7 | 436ms | 2756kb | OK | 10 |
8 | 488ms | 3032kb | OK | 10 |
9 | 244ms | 1780kb | OK | 10 |
10 | 572ms | 3420kb | OK | 10 |
Punctaj total | 100 |