Pagini recente » Borderou de evaluare (job #183714) | Borderou de evaluare (job #1689922) | Borderou de evaluare (job #864098) | Borderou de evaluare (job #1208549) | Borderou de evaluare (job #1526478)
Borderou de evaluare (job #1526478)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<n;i++)
^
user.cpp:15:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<n;j++)
^
user.cpp:17:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:32:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",q);
^
user.cpp:34:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<n;i++)
^
user.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<n;j++)
^
user.cpp:41:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int q=2;q<=b[i][j];q++)
^
user.cpp:46:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b[x][j]>=q)
^
user.cpp:65:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<=n;i++)
^
user.cpp:67:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",c[i]);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.in","r",stdin);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("custi.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 4700kb | Time limit exceeded. | 0 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 608kb | OK | 10 |
4 | 0ms | 860kb | OK | 10 |
5 | Depăşit | 9080kb | Time limit exceeded. | 0 |
6 | 152ms | 7124kb | OK | 10 |
7 | Depăşit | 9080kb | Time limit exceeded. | 0 |
8 | Depăşit | 9084kb | Time limit exceeded. | 0 |
9 | Depăşit | 8980kb | Time limit exceeded. | 0 |
10 | Depăşit | 9084kb | Time limit exceeded. | 0 |
Punctaj total | 40 |