Pagini recente » Borderou de evaluare (job #3208348) | Borderou de evaluare (job #2498696) | Borderou de evaluare (job #2321036) | Borderou de evaluare (job #444984) | Borderou de evaluare (job #1768949)
Borderou de evaluare (job #1768949)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
scanf("%d %d %d", &N, &M, &A);
^
user.cpp:18:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for (i = 0; i < N; i++) scanf("%d", R+i);
^
user.cpp:19:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for (i = 0; i < M; i++) scanf("%d", C+i);
^
user.cpp:45:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n", Zmax, Nsol);
^
user.cpp:45:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice.in", "r", stdin);
^
user.cpp:16:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice.out", "w", stdout);
^
user.cpp:17:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &N, &M, &A);
^
user.cpp:18:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < N; i++) scanf("%d", R+i);
^
user.cpp:19:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < M; i++) scanf("%d", C+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 448kb | Incorect | 0 |
3 | 0ms | 452kb | Incorect | 0 |
4 | 0ms | 448kb | Incorect | 0 |
5 | 4ms | 464kb | Incorect | 0 |
6 | 4ms | 464kb | Incorect | 0 |
7 | 4ms | 480kb | Incorect | 0 |
8 | 8ms | 492kb | Incorect | 0 |
9 | 8ms | 504kb | Incorect | 0 |
10 | 12ms | 500kb | Incorect | 0 |
Punctaj total | 10 |