Pagini recente » Borderou de evaluare (job #1980320) | Borderou de evaluare (job #1980323) | Borderou de evaluare (job #1980326) | Borderou de evaluare (job #2778028) | Borderou de evaluare (job #1980322)
Borderou de evaluare (job #1980322)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&N);
^
user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&N,&X);
^
user.cpp:38:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:39:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(int i=1;i<=N;i++)fscanf(f,"%d",&A[i]);
^
user.cpp:40:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(int i=1;i<=N;i++)fscanf(f,"%d",&B[i]);
^
user.cpp:37:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:38:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&N,&X);
^
user.cpp:39:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=N;i++)fscanf(f,"%d",&A[i]);
^
user.cpp:40:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=N;i++)fscanf(f,"%d",&B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Ok | 2 |
2 | 0ms | 280kb | Ok | 1 |
3 | 0ms | 276kb | Ok | 1 |
4 | 0ms | 276kb | Ok | 1 |
5 | 0ms | 284kb | Ok | 3 |
6 | 4ms | 288kb | Ok | 3 |
7 | 4ms | 288kb | Ok | 4 |
8 | 48ms | 436kb | Ok | 3 |
9 | 48ms | 436kb | Ok | 3 |
10 | 48ms | 436kb | Incorect | 0 |
11 | 252ms | 1056kb | Incorect | 0 |
12 | 0ms | 276kb | Ok | 4 |
13 | 0ms | 280kb | Ok | 4 |
14 | 96ms | 584kb | Incorect | 0 |
15 | 264ms | 1052kb | Incorect | 0 |
16 | 56ms | 436kb | Ok | 5 |
17 | 156ms | 752kb | Ok | 5 |
18 | 252ms | 1052kb | Incorect | 0 |
19 | 256ms | 1052kb | Ok | 6 |
20 | 256ms | 1048kb | Ok | 8 |
21 | 272ms | 1056kb | Ok | 10 |
22 | 244ms | 1052kb | Ok | 10 |
Punctaj total | 73 |