Pagini recente » Cod sursa (job #92523) | Cod sursa (job #152121) | Cod sursa (job #633593) | Borderou de evaluare (job #1520738)
Borderou de evaluare (job #1520738)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int b=0;b<g[j].size();b++)
^
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("rangemode.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("rangemode.out","w",stdout);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m); leng=trunc(sqrt(n));
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
j++; scanf("%d",&x); mp[x]++; t[i]=x;
^
user.cpp:37:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y); mp.clear(); ok=true;
^
user.cpp:51:16: warning: ‘mx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int maxx=0,mx;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 160ms | 1480kb | OK | 10 | 10 |
| 2 | Depăşit | 1580kb | Time limit exceeded. | 0 | 0 |
| 3 | Depăşit | 1768kb | Time limit exceeded. | 0 | 0 |
| 4 | Depăşit | 1940kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 2520kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2204kb | Time limit exceeded. | 0 | 0 |
| 7 | Depăşit | 3012kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2380kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2492kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2500kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |