Pagini recente » Borderou de evaluare (job #2760561) | Borderou de evaluare (job #2672616) | Borderou de evaluare (job #1057940) | Borderou de evaluare (job #1864257) | Borderou de evaluare (job #1526482)
Borderou de evaluare (job #1526482)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<n;i++)
^
user.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<n;j++)
^
user.cpp:18:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:33: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:35:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<n;i++)
^
user.cpp:37:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<n;j++)
^
user.cpp:66:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<=n;i++)
^
user.cpp:68: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:9: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:10: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:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18: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 | 2744kb | Time limit exceeded. | 0 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 580kb | OK | 10 |
4 | 0ms | 776kb | OK | 10 |
5 | 232ms | 5176kb | OK | 10 |
6 | 140ms | 4088kb | OK | 10 |
7 | Depăşit | 5168kb | Time limit exceeded. | 0 |
8 | Depăşit | 5184kb | Time limit exceeded. | 0 |
9 | Depăşit | 5120kb | Time limit exceeded. | 0 |
10 | Depăşit | 5180kb | Time limit exceeded. | 0 |
Punctaj total | 50 |