Pagini recente » Borderou de evaluare (job #2133123) | Borderou de evaluare (job #220837) | Borderou de evaluare (job #642253) | Borderou de evaluare (job #1366704) | Borderou de evaluare (job #1598747)
Borderou de evaluare (job #1598747)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%d", &val[i]);
^
user.cpp:55:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<v[i].size(); ++j) {
^
user.cpp:62:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf ("%d%d", &X, ×);
^
user.cpp:63:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf ("%d\n", solve (X, times));
^
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arb3.in", "r", stdin);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arb3.out", "w", stdout);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &Q);
^
user.cpp:45:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T[i]);
^
user.cpp:50:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &val[i]);
^
user.cpp:62:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &X, ×);
^
user.cpp: In function ‘long long int solve(int, long long int)’:
user.cpp:35:54: warning: ‘aux1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
newTimes=S[T[X]][aux1] - (ajung)*(aux1+1) - (aux1-aux2);
^
user.cpp:35:54: warning: ‘aux2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2776kb | OK | 10 |
2 | 4ms | 2788kb | Incorect | 0 |
3 | 24ms | 3096kb | Incorect | 0 |
4 | 48ms | 3284kb | Incorect | 0 |
5 | 156ms | 4452kb | Incorect | 0 |
6 | 196ms | 4948kb | Incorect | 0 |
7 | 208ms | 5040kb | Incorect | 0 |
8 | 236ms | 5248kb | Incorect | 0 |
9 | 264ms | 5640kb | Incorect | 0 |
10 | 272ms | 5652kb | Incorect | 0 |
Punctaj total | 10 |