Pagini recente » Borderou de evaluare (job #2979558) | Borderou de evaluare (job #1300247) | Borderou de evaluare (job #2629574) | Borderou de evaluare (job #3288181) | Borderou de evaluare (job #1801124)
Borderou de evaluare (job #1801124)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:12:20: warning: conversion lacks type at end of format [-Wformat=]
scanf("%ll", &n);
^
user.cpp:12:20: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:14:27: warning: conversion lacks type at end of format [-Wformat=]
scanf("%ll", &a[i]);
^
user.cpp:14:27: warning: too many arguments for format [-Wformat-extra-args]
user.cpp: In function ‘void afisare()’:
user.cpp:26:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dp[i][j]);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:51:27: warning: conversion lacks type at end of format [-Wformat=]
printf("%ll", dp[1][n]);
^
user.cpp:51:27: warning: too many arguments for format [-Wformat-extra-args]
user.cpp: In function ‘void citire()’:
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ll", &n);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ll", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:56:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in", "r", stdin);
^
user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 380kb | Incorect | 0 |
2 | 0ms | 388kb | Incorect | 0 |
3 | 0ms | 388kb | Incorect | 0 |
4 | 0ms | 388kb | Incorect | 0 |
5 | 0ms | 388kb | Incorect | 0 |
6 | 0ms | 388kb | Incorect | 0 |
7 | 0ms | 384kb | Incorect | 0 |
8 | 0ms | 384kb | Incorect | 0 |
9 | 0ms | 380kb | Incorect | 0 |
10 | 0ms | 388kb | Incorect | 0 |
Punctaj total | 0 |