Pagini recente » Borderou de evaluare (job #2141868) | Borderou de evaluare (job #2784798) | Borderou de evaluare (job #2185289) | Borderou de evaluare (job #315360) | Borderou de evaluare (job #1247121)
Borderou de evaluare (job #1247121)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin ,"%d" ,&n);
^
user.cpp:11:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin ,"%d" ,&v[i]);
^
user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf (fin , "%d" ,&m);
^
user.cpp:21:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf (fin ,"%d" ,&q);
^
user.cpp:24:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf (fin ,"%d" , &x);
^
user.cpp:36:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
if(v[i+1]!=x)fprintf(fout ,"%d" ,(i+1));
^
user.cpp:42:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin ,"%d" , &x);
^
user.cpp:51:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout ,"%d" ,i);
^
user.cpp:63:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout ,"%d" ,i+1);
^
user.cpp:8:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d" ,&n);
^
user.cpp:11:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d" ,&v[i]);
^
user.cpp:18:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin , "%d" ,&m);
^
user.cpp:21:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin ,"%d" ,&q);
^
user.cpp:24:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin ,"%d" , &x);
^
user.cpp:42:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin ,"%d" , &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | Incorect | 0 | 0 |
2 | 0ms | 256kb | Incorect | 0 | 0 |
3 | 0ms | 264kb | Incorect | 0 | 0 |
4 | 4ms | 268kb | Incorect | 0 | 0 |
5 | 28ms | 340kb | Incorect | 0 | 0 |
6 | 84ms | 652kb | Incorect | 0 |
7 | 32ms | Depăşit | Memory limit exceeded. | 0 | 0 |
8 | 28ms | Depăşit | Memory limit exceeded. | 0 |
9 | 32ms | Depăşit | Memory limit exceeded. | 0 |
10 | 32ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |