Pagini recente » Borderou de evaluare (job #2193144) | Borderou de evaluare (job #712977) | Borderou de evaluare (job #1447483) | Borderou de evaluare (job #1472225) | Borderou de evaluare (job #1314683)
Borderou de evaluare (job #1314683)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘bool*’ [-Wformat=]
for(j=1;j<=n;j++) scanf("%ld",&typ[0][i][j]);
^
user.cpp:50:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%ld",&tmp[i][j]);
^
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cartele.in","r",stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cartele.out","w",stdout);
^
user.cpp:35:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&c);
^
user.cpp:37:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;j++) scanf("%ld",&typ[0][i][j]);
^
user.cpp:50:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&tmp[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 448kb | OK | 10 | 50 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 4ms | 448kb | OK | 10 |
5 | 0ms | 444kb | OK | 10 |
6 | 4ms | 448kb | OK | 10 | 50 |
7 | 8ms | 448kb | OK | 10 |
8 | 8ms | 444kb | OK | 10 |
9 | 12ms | 444kb | OK | 10 |
10 | 28ms | 444kb | OK | 10 |
Punctaj total | 100 |