Borderou de evaluare (job #1383139)
Raport evaluator
Compilare:
user.cpp: In function ‘void back()’:
user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d %d %d %d\n",i,i2,j,j2);
^
user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long int’ [-Wformat=]
user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long long int’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:116:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:118:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘std::map<int, int>::mapped_type* {aka int*}’ [-Wformat=]
fscanf(f,"%lld ",&m[i]);
^
user.cpp:123:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d ",&v[i][j]);
^
user.cpp:116: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:118:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld ",&m[i]);
^
user.cpp:123:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d ",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Incorect | 0 |
2 | 0ms | 300kb | Incorect | 0 |
3 | 0ms | 484kb | Incorect | 0 |
4 | 0ms | 684kb | Incorect | 0 |
5 | 0ms | 680kb | Incorect | 0 |
6 | 8ms | 1088kb | Incorect | 0 |
7 | 12ms | 1092kb | Incorect | 0 |
8 | 88ms | 2308kb | Incorect | 0 |
9 | 60ms | 2312kb | Incorect | 0 |
10 | 0ms | 320kb | Incorect | 0 |
Punctaj total | 0 |