Pagini recente » Borderou de evaluare (job #1968693) | Borderou de evaluare (job #585292) | Borderou de evaluare (job #1724462) | Borderou de evaluare (job #2100206) | Borderou de evaluare (job #1245034)
Borderou de evaluare (job #1245034)
Raport evaluator
Compilare:
user.cpp: In function ‘short int read()’:
user.cpp:10:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=]
scanf("%s",&c);
^
user.cpp: In function ‘int main()’:
user.cpp:23:72: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for (rshort i=1,x;i<=n;++i) for (rshort j=1;j<=m;++j) scanf("%d",&x),v[i][x]=1,Nmax=max(Nmax,x);
^
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","r",stdin);
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","w",stdout);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:23:100: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (rshort i=1,x;i<=n;++i) for (rshort j=1;j<=m;++j) scanf("%d",&x),v[i][x]=1,Nmax=max(Nmax,x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 564kb | OK | 10 | 50 |
2 | 0ms | 560kb | OK | 10 |
3 | 8ms | 564kb | OK | 10 |
4 | 80ms | 556kb | OK | 10 |
5 | 116ms | 560kb | OK | 10 |
6 | Depăşit | 560kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 556kb | Time limit exceeded. | 0 |
8 | 0ms | 560kb | OK | 10 |
9 | 0ms | 556kb | OK | 10 |
10 | 4ms | 556kb | OK | 10 |
Punctaj total | 50 |